Add unnamed private struct

Forces the use of named values
pull/14/head
Marc-Antoine Ruel 5 years ago
parent 4d2d9a5ccb
commit c53a2960d0

@ -26,6 +26,8 @@ import (
type Opts struct { type Opts struct {
X int X int
Palette *ansi256.Palette Palette *ansi256.Palette
_ struct{}
} }
// Dev is a 1D LED strip emulator that outputs to the console. // Dev is a 1D LED strip emulator that outputs to the console.

Loading…
Cancel
Save