Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 15980f4

Browse files
authoredFeb 22, 2023
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
 

‎dynamodb_table_config.go

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.