Upgrade go-toml to v2
According to the official [migration guide](https://github.com/pelletier/go-toml/tree/v2#migrating-from-v1), there are no breaking changes that could affect this project. Main differences are: * `Default struct fields order`: Struct fields stop being alphabetically sorted, unless their sorting is changed in the struct definitions. Shouldn't be relevant. * `No indentation by default`: Also not relevant for newly generated configuration files. Doesn't break reading existing configuration files.
This commit is contained in:
committed by
Drew Weymouth
parent
7b15fe95e4
commit
57646cfbfd
+1
-1
@@ -4,7 +4,7 @@ import (
|
||||
"os"
|
||||
|
||||
"github.com/google/uuid"
|
||||
"github.com/pelletier/go-toml"
|
||||
"github.com/pelletier/go-toml/v2"
|
||||
)
|
||||
|
||||
type ServerConnection struct {
|
||||
|
||||
Reference in New Issue
Block a user