Skip to content

Commit 15980f4

Browse files
authored
chore: add mapstructure tag to dynamo TableName (#35)
1 parent 0dc2fbe commit 15980f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: dynamodb_table_config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package remoteconfig
22

33
type DynamoDBTableConfig struct {
4-
TableName *string `json:"table_name,omitempty"`
4+
TableName *string `mapstructure:"table_name" json:"table_name,omitempty"`
55
}
66

77
func (d DynamoDBTableConfig) GetTableName() string {

0 commit comments

Comments
 (0)