cannot define new methods on non-local type int
参考资料:
http://wiki.jikexueyuan.com/project/the-way-to-go/10.6.html
http://*.com/questions/28800672/how-to-add-new-methods-to-an-existing-type-in-go
cannot define new methods on non-local type int
参考资料:
http://wiki.jikexueyuan.com/project/the-way-to-go/10.6.html
http://*.com/questions/28800672/how-to-add-new-methods-to-an-existing-type-in-go