Commit Graph

4 Commits

Author SHA1 Message Date
yaziming
2f6b517356 refactor(all): refactor code
remove redundant code and some code refactor
2019-10-11 16:01:57 +08:00
yaziming
888a3cab79 refactor(backend): Use more efficient bytes to string methods and remove unnecessary type conversions
detail:
    1. add utils.BytesToString function instead of string() convert bytes to string.
    2. use bytes.NewReader instead of strings.NewReader(string(sb)).
    3. use w.Body.Bytes() instead of []byte(w.Body.String()).
2019-09-03 15:17:32 +08:00
hantmac
d5dfe648af add unit test for GetLocalLog 2019-09-01 00:07:18 +08:00
hantmac
444784d5b6 Add unit test for log.go 2019-08-31 11:30:41 +08:00