mirror of
https://github.com/taigrr/simplecolorpalettes.git
synced 2026-04-01 20:49:11 -07:00
Merge pull request #4 from taigrr/cd/remove-unused-type
fix: remove unused conversionPalette type
This commit is contained in:
@@ -11,10 +11,9 @@ import (
|
|||||||
const TotalHexColorspace = 0xffffff + 1
|
const TotalHexColorspace = 0xffffff + 1
|
||||||
|
|
||||||
type (
|
type (
|
||||||
SimpleColor int
|
SimpleColor int
|
||||||
NamedPalette map[string]SimpleColor
|
NamedPalette map[string]SimpleColor
|
||||||
SimplePalette []SimpleColor
|
SimplePalette []SimpleColor
|
||||||
conversionPalette []color.Color
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func (n NamedPalette) Get(name string) SimpleColor {
|
func (n NamedPalette) Get(name string) SimpleColor {
|
||||||
|
|||||||
Reference in New Issue
Block a user