We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently most format's signatures accept strings, however, when formatting a user object for example, we are most likely to be using a snowflake.
format
I think we should change those signatures.
As an example, there is https://github.com/Karitham/corde/blob/b03180c5b02dce529e51035ea226c058f72c1b13/0_example/todo/todo.go#L58
Which would benefit from just taking in a Snowflake.
We could also take in any, and check for string, fmt.Stringer or use fmt.Sprint, but I'm not exactly sure how that'd end up looking
any
string
fmt.Stringer
fmt.Sprint
The text was updated successfully, but these errors were encountered:
jolheiser
Successfully merging a pull request may close this issue.
Currently most
format
's signatures accept strings, however, when formatting a user object for example, we are most likely to be using a snowflake.I think we should change those signatures.
As an example, there is https://github.com/Karitham/corde/blob/b03180c5b02dce529e51035ea226c058f72c1b13/0_example/todo/todo.go#L58
Which would benefit from just taking in a Snowflake.
We could also take in
any
, and check forstring
,fmt.Stringer
or usefmt.Sprint
, but I'm not exactly sure how that'd end up lookingThe text was updated successfully, but these errors were encountered: