mirror of
https://gitea.elkins.co/Networking/ccl.git
synced 2025-03-09 04:31:38 -05:00
Fix default struct tag
This commit is contained in:
parent
0049fb818c
commit
598ed0d427
@ -18,7 +18,7 @@ const (
|
|||||||
type Network struct {
|
type Network struct {
|
||||||
Name string
|
Name string
|
||||||
DNS []string
|
DNS []string
|
||||||
IPv6 bool `default:true`
|
IPv6 bool `default:"true"`
|
||||||
IPv4Address string `toml:"ipv4_address"`
|
IPv4Address string `toml:"ipv4_address"`
|
||||||
IPv6Address string `toml:"ipv6_address"`
|
IPv6Address string `toml:"ipv6_address"`
|
||||||
}
|
}
|
||||||
@ -39,7 +39,7 @@ type command string
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
CREATE command = "create"
|
CREATE command = "create"
|
||||||
START command = "start"
|
START command = "start"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user