Golang Slack Markdown struct serializer based on reflection.
type MyUserAction struct {
URL string
User *MyUser
NotSoUsefulInfo string `slack_md:"-"`
}
type MyUser struct {
UserID string
SomeUserKey string `slack_md:"obfuscate"`
}
- Field names as bold text, properly idented
- Fields tagged with
-
ignored - Fields tagged with
obfuscate
showing just last chars - Fields re-implementing Marshaler having their custom serializing printed