Add JSON tags
This commit is contained in:
parent
0c31803e4c
commit
ef710419e9
@ -1,7 +1,7 @@
|
||||
package database
|
||||
|
||||
type Version struct {
|
||||
Component string
|
||||
Target string
|
||||
Version string
|
||||
Component string `json:"target"`
|
||||
Target string `json:"component"`
|
||||
Version string `json:"version"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user