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
+2 -2
View File
@@ -2,7 +2,7 @@
package dwn
type IPFS struct {
ApiUrl string `pkl:"apiUrl"`
ApiUrl string `pkl:"apiUrl" json:"apiUrl,omitempty"`
GatewayUrl string `pkl:"gatewayUrl"`
GatewayUrl string `pkl:"gatewayUrl" json:"gatewayUrl,omitempty"`
}