Skip to content

Commit

Permalink
update ref
Browse files Browse the repository at this point in the history
  • Loading branch information
DavadDi committed Jan 25, 2017
1 parent 9782fa2 commit 624b136
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions go_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,9 @@
t.Execute(os.Stdout, value)
}


参考:

1. [Access a map value using a variable key in a Go template](http://stackoverflow.com/questions/26152088/access-a-map-value-using-a-variable-key-in-a-go-template)

2. [How to get map value by key without range action (htm/text templates)? Golang](http://stackoverflow.com/questions/28010961/how-to-get-map-value-by-key-without-range-action-htm-text-templates-golang)

0 comments on commit 624b136

Please sign in to comment.