Skip to content

Commit

Permalink
feat: make toml2 the default
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <[email protected]>
  • Loading branch information
sagikazarmark committed May 26, 2022
1 parent 8d02999 commit 4322cf2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.15', '1.16', '1.17', '1.18']
tags: ['', 'viper_yaml2', 'viper_toml2']
tags: ['', 'viper_yaml2', 'viper_toml1']
env:
GOFLAGS: -mod=readonly

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/toml/codec.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !viper_toml2
// +build !viper_toml2
//go:build viper_toml1
// +build viper_toml1

package toml

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/toml/codec2.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build viper_toml2
// +build viper_toml2
//go:build !viper_toml1
// +build !viper_toml1

package toml

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/toml/codec2_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build viper_toml2
// +build viper_toml2
//go:build !viper_toml1
// +build !viper_toml1

package toml

Expand Down
4 changes: 2 additions & 2 deletions internal/encoding/toml/codec_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !viper_toml2
// +build !viper_toml2
//go:build viper_toml1
// +build viper_toml1

package toml

Expand Down

0 comments on commit 4322cf2

Please sign in to comment.