Skip to content

Commit 8e9eccb

Browse files
committed
不要なomitemptyの削除
1 parent 9aa26f2 commit 8e9eccb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

client/entitiy.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ type ContentsConfig struct {
2929
// 公開コンテンツを取得するためのAPIキー(classifyByStatusがfalseの場合はこれのみ必要)
3030
GetPublishContentsAPIKey string `json:"getPublishContentsAPIKey"`
3131
// 全ステータスのコンテンツを取得するためのAPIキー(classifyByStatusがtrueの場合に必要)
32-
GetAllStatusContentsAPIKey string `json:"getAllStatusContentsAPIKey,omitempty"`
32+
GetAllStatusContentsAPIKey string `json:"getAllStatusContentsAPIKey"`
3333
// コンテンツのメタデータを取得するためのAPIキー(classifyByStatusがtrueの場合に必要)
34-
GetContentsMetaDataAPIKey string `json:"getContentsMetaDataAPIKey,omitempty"`
34+
GetContentsMetaDataAPIKey string `json:"getContentsMetaDataAPIKey"`
3535
Endpoints []string `json:"endpoints"`
3636
RequestUnit int `json:"requestUnit"`
3737
ClassifyByStatus bool `json:"classifyByStatus"`
@@ -47,8 +47,8 @@ type MediaConfig struct {
4747
type Config struct {
4848
Target string `json:"target"`
4949
ServiceID string `json:"serviceId"`
50-
Contents ContentsConfig `json:"contents,omitempty"`
51-
Media MediaConfig `json:"media,omitempty"`
50+
Contents ContentsConfig `json:"contents"`
51+
Media MediaConfig `json:"media"`
5252
}
5353

5454
type Client struct {

0 commit comments

Comments
 (0)