helpers: Add doc to Language.SetParam

This commit is contained in:
bogem 2016-11-24 20:30:52 +01:00 committed by Bjørn Erik Pedersen
parent 4352156a27
commit 2ac9817eae

View file

@ -93,6 +93,8 @@ func (l *Language) Params() map[string]interface{} {
return l.params
}
// SetParam sets param with the given key and value.
// SetParam is case-insensitive.
func (l *Language) SetParam(k string, v interface{}) {
l.params[strings.ToLower(k)] = v
}