feat: add json tags to config structs

This commit is contained in:
Prad Nukala
2024-10-07 10:49:25 -04:00
parent 6fc52fd62d
commit dba9a119ef
5 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
package dwn
type Motr struct {
Keyshare string `pkl:"keyshare"`
Keyshare string `pkl:"keyshare" json:"keyshare,omitempty"`
Address string `pkl:"address"`
Address string `pkl:"address" json:"address,omitempty"`
Origin string `pkl:"origin"`
Origin string `pkl:"origin" json:"origin,omitempty"`
}