Skip to content

Commit

Permalink
chore: add mapstructure tag to dynamo TableName (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesmithgh committed Feb 22, 2023
1 parent 0dc2fbe commit 15980f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamodb_table_config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package remoteconfig

type DynamoDBTableConfig struct {
TableName *string `json:"table_name,omitempty"`
TableName *string `mapstructure:"table_name" json:"table_name,omitempty"`
}

func (d DynamoDBTableConfig) GetTableName() string {
Expand Down

0 comments on commit 15980f4

Please sign in to comment.