omitempty

This commit is contained in:
mr
2024-07-22 16:39:26 +02:00
parent ebdbd97ce6
commit e44a6b65b7
5 changed files with 13 additions and 13 deletions

View File

@@ -8,8 +8,8 @@ import (
)
type URL struct {
Protocol string `bson:"protocol,omitempty" json:"protocol"`
Path string `bson:"path,omitempty" json:"path"`
Protocol string `bson:"protocol,omitempty" json:"protocol,omitempty"`
Path string `bson:"path,omitempty" json:"path,omitempty"`
}
type StorageResource struct {