mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-21 20:36:01 +03:00
demo on how to output string
This commit is contained in:
parent
fc102d573f
commit
df6196b7a1
@ -17,6 +17,6 @@ var feedLockLinkTypes = [...]string{
|
||||
func (f FeedLockLinkType) String() string { return feedLockLinkTypes[f] }
|
||||
|
||||
func main() {
|
||||
test := FeedLockLinkType(Racing)
|
||||
test := FeedLockLinkType(Racing).String()
|
||||
spew.Dump(test)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user