diff --git a/internal/serial.go b/internal/serial.go index 74c863a..ac72750 100644 --- a/internal/serial.go +++ b/internal/serial.go @@ -61,15 +61,3 @@ func GenerateSerial(length uint8) (string, error) { return buf.String()[:length], nil } - -// DecodeSerial decodes a serial number -func DecodeSerial(serial string) ([]byte, error) { - decoder := base32.NewDecoder(base32.StdEncoding, bytes.NewBufferString(serial)) - var decoded []byte - _, err := decoder.Read(decoded) - if err != nil { - return nil, errors.Join(errors.New("error decoding serial"), err) - } - - return decoded, nil -} diff --git a/internal/styles.go b/internal/styles.go index eda4f9d..e49df32 100644 --- a/internal/styles.go +++ b/internal/styles.go @@ -8,6 +8,4 @@ var ( // Warning is used to style warnings for the user. Warning = lipgloss.NewStyle().Foreground(lipgloss.Color("11")).Bold(true).Render - - BoldStyle = lipgloss.NewStyle().Bold(true) )