Skip to content

Commit

Permalink
refactor: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
luisdavim committed Aug 14, 2023
1 parent 0a22e48 commit 07e7f11
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions gotenv.go
Expand Up @@ -26,9 +26,11 @@ const (
)

// Byte order mark character
var bomUTF8 = []byte("\xEF\xBB\xBF")
var bomUTF16LE = []byte("\xFF\xFE")
var bomUTF16BE = []byte("\xFE\xFF")
var (
bomUTF8 = []byte("\xEF\xBB\xBF")
bomUTF16LE = []byte("\xFF\xFE")
bomUTF16BE = []byte("\xFE\xFF")
)

// Env holds key/value pair of valid environment variable
type Env map[string]string
Expand Down
1 change: 0 additions & 1 deletion scanner_test.go
Expand Up @@ -9,7 +9,6 @@ import (
)

func TestScanner(t *testing.T) {

type testCase struct {
name string
in string
Expand Down

0 comments on commit 07e7f11

Please sign in to comment.