Add JSON tags

This commit is contained in:
Fred Boniface 2023-07-19 19:39:07 +01:00
parent 0c31803e4c
commit ef710419e9
1 changed files with 3 additions and 3 deletions

View File

@ -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"`
}