Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheikh Seck authored Aug 7, 2017
1 parent 182cd5a commit 66201f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ Please keep in mind that the .Session and .R variable are only available to temp
- sg - Will retrieve a string stored as a session variable.
- Usage : `{{$string := .Session | sg "KeyName" }}`
- form - Will retrieve a request variable no matter how it is submitted.
- Usage : `{{ $input = .R | }}` . `.R` is a page variable with type `http.Request` from the Go lang package `net/http`
- Usage : `{{ $input = .R | form "Key" }}` . `.R` is a page variable with type `http.Request` from the Go lang package `net/http`
- eq - Will compare two variables and return a `bool` of value true if they are equal
- Usage : `{{if eq "Obj1" "Obj1" }} {{end}}`
- neq - Will compare two variables and return a `bool` of value true if they are not equal.
Expand Down

0 comments on commit 66201f5

Please sign in to comment.