这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@atelpis
Copy link
Contributor

@atelpis atelpis commented Mar 22, 2024

Having a String() string method is a more idiomatic way to handle string representation, as implementing the fmt.Stringer interface makes it easier to work with the standard library.

https://go.dev/tour/methods/17

Copy link
Owner

@j178 j178 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@j178 j178 merged commit cc5cdd0 into j178:master Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants