Commit Graph

4 Commits

Author SHA1 Message Date
yaziming
ee808e0e60 refactor(all): refactor code
remove redundant code and some code refactor
2019-10-11 16:01:57 +08:00
yaziming
e10d8fd996 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
1de80f7779 add unit test for GetLocalLog 2019-09-01 00:07:18 +08:00
hantmac
39a2a3d635 Add unit test for log.go 2019-08-31 11:30:41 +08:00