diff --git a/inky/opts.go b/inky/opts.go index 74700f7..d7ecc3b 100644 --- a/inky/opts.go +++ b/inky/opts.go @@ -12,7 +12,7 @@ import ( ) var ( - displayVariantMap = []string{ + displayVariantMap = [...]string{ "", "Red pHAT (High-Temp)", "Yellow wHAT", diff --git a/inky/types.go b/inky/types.go index b1496da..b5ac48b 100644 --- a/inky/types.go +++ b/inky/types.go @@ -1,6 +1,7 @@ // Copyright 2023 The Periph Authors. All rights reserved. // Use of this source code is governed under the Apache License, Version 2.0 // that can be found in the LICENSE file. + package inky //go:generate stringer -type=Model,Color,ImpressionColor -output types_string.go