Skip to content

Commit 4322cf2

Browse files
committed
feat: make toml2 the default
Signed-off-by: Mark Sagi-Kazar <[email protected]>
1 parent 8d02999 commit 4322cf2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest, macos-latest, windows-latest]
1919
go: ['1.15', '1.16', '1.17', '1.18']
20-
tags: ['', 'viper_yaml2', 'viper_toml2']
20+
tags: ['', 'viper_yaml2', 'viper_toml1']
2121
env:
2222
GOFLAGS: -mod=readonly
2323

internal/encoding/toml/codec.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build !viper_toml2
2-
// +build !viper_toml2
1+
//go:build viper_toml1
2+
// +build viper_toml1
33

44
package toml
55

internal/encoding/toml/codec2.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build viper_toml2
2-
// +build viper_toml2
1+
//go:build !viper_toml1
2+
// +build !viper_toml1
33

44
package toml
55

internal/encoding/toml/codec2_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build viper_toml2
2-
// +build viper_toml2
1+
//go:build !viper_toml1
2+
// +build !viper_toml1
33

44
package toml
55

internal/encoding/toml/codec_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build !viper_toml2
2-
// +build !viper_toml2
1+
//go:build viper_toml1
2+
// +build viper_toml1
33

44
package toml
55

0 commit comments

Comments
 (0)