Created
July 14, 2018 04:51
-
-
Save JakeTheCorn/724eeccf80754f2ff407cd0ed1c5b9a7 to your computer and use it in GitHub Desktop.
To Json String
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (cg *ColorGroup) toJSONString() (string, error) { | |
b, err := json.Marshal(cg) | |
return string(b), err | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment