示例#1
0
func fmtColor(v color.Color, ok bool) *string {
	if !ok {
		return nil
	}
	var r string
	r = "\"" + v.HexString() + "\""
	return &r
}