Remove all json tags, simply not needed
This commit is contained in:
parent
075a502103
commit
c94ac68f44
8 changed files with 37 additions and 37 deletions
|
@ -45,14 +45,14 @@ const gRPCport = 9090
|
|||
|
||||
// Account stores data for an account
|
||||
type Account struct {
|
||||
Name string `json:"name"`
|
||||
Secret string `json:"secret"`
|
||||
Name string
|
||||
Secret string
|
||||
}
|
||||
|
||||
// Config is used to store internal data
|
||||
type Config struct {
|
||||
Host string `json:"host,omitempty"`
|
||||
Account Account `json:"account,omitempty"`
|
||||
Host string
|
||||
Account Account
|
||||
}
|
||||
|
||||
// ConfigPath returns the configuration path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue