cannot define new methods on non-local type int
参考资料:
http://wiki.jikexueyuan.com/project/the-way-to-go/10.6.html
http://stackoverflow.com/questions/28800672/how-to-add-new-methods-to-an-existing-type-in-go
时间: 2024-10-07 13:35:51
cannot define new methods on non-local type int
参考资料:
http://wiki.jikexueyuan.com/project/the-way-to-go/10.6.html
http://stackoverflow.com/questions/28800672/how-to-add-new-methods-to-an-existing-type-in-go