From 0de3494d495d5e8f681e62da69da6fa3cdc5d0f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87a=C4=9Flar=20Onur?= Date: Sun, 15 Jan 2023 14:15:20 -0800 Subject: [PATCH] Address the remaining review comments --- inky/opts.go | 2 +- inky/types.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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