Skip to content
#

mailing-list

Here are 57 public repositories matching this topic...

apex-inc
apex-inc commented Oct 28, 2019

Some more stuff 😄 .

// Parse returns the rgb parsed from a color hex string.
func Parse(s string) (r, g, b uint8) {
	m := re.FindStringSubmatch(s)
	rv, _ := strconv.ParseInt(m[1], 16, 0)
	gv, _ := strconv.ParseInt(m[2], 16, 0)
	bv, _ := strconv.ParseInt(m[3], 16, 0)
	r = uint8(rv)
	g = uint8(gv)
	b = uint8(bv)
	return
}

Some indented code:

foo
bar
baz

Improve this page

Add a description, image, and links to the mailing-list topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mailing-list topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.