Google code view

https://medium.com/@ryanyang1221/%E8%AE%93-google-%E6%95%99%E4%BD%A0-code-review-be251d4d81b4

2019-09-08 · 1 min · word · Me

golang go-ethereum contract string to [32]byte

func covertStringByte32(t string) [32]byte { var b32 [32]byte copy(b32[:], []byte(t)) return b32 } func covertStringByte64(t string) [64]byte { var b64 [64]byte copy(b64[:], []byte(t)) return b64 }

2019-09-05 · 1 min · 26 words · Me

golang test e2e

httpexpect star 1159 https://github.com/gavv/httpexpect https://github.com/gavv/httpexpect/blob/master/_examples/echo_test.go goconvey https://segmentfault.com/a/1190000014924022 https://github.com/smartystreets/goconvey/ baloo star 652 https://github.com/h2non/baloo frisby star 249 https://github.com/verdverm/frisby apitest star 121 https://github.com/steinfletcher/apitest

2019-09-04 · 1 min · 20 words · Me

[轉]通过 Channel 实现 Goroutine Pool

https://segmentfault.com/a/1190000020185565

2019-09-04 · 1 min · word · Me

[轉]Go学习之Channel总结

https://segmentfault.com/a/1190000020086749

2019-09-04 · 1 min · word · Me