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
|
@ -21,8 +21,8 @@ type Accountant interface {
|
|||
// Account represents a registered user
|
||||
type Account struct {
|
||||
// Name simply describes the account and must be unique
|
||||
Name string `json:"name"`
|
||||
Name string
|
||||
|
||||
// Data represents internal account data
|
||||
Data map[string]string `json:"data"`
|
||||
Data map[string]string
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
// SimpleAccountant manages a set of accounts
|
||||
type SimpleAccountant struct {
|
||||
Accounts map[string]Account `json:"accounts"`
|
||||
Accounts map[string]Account
|
||||
}
|
||||
|
||||
// NewSimpleAccountant creates a new accountant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue