* linter fixes

* Golint and format code

* fmt
This commit is contained in:
Miek Gieben
2017-02-22 07:25:58 +00:00
committed by GitHub
parent 81af74aad0
commit c5224b1048
14 changed files with 43 additions and 41 deletions

View File

@@ -1,11 +1,9 @@
// Package rewrite is middleware for rewriting requests internally to something different.
package rewrite
/*
Additional FIELD keywords may be implemented to support more rewrite use-cases.
New Rule types must be added to the Fields map.
The type must implement `New` and `Rewrite` functions.
*/
// Fields defines additional FIELD keywords may be implemented to support more rewrite use-cases.
// New Rule types must be added to the Fields map.
// The type must implement `New` and `Rewrite` functions.
var Fields = map[string]Rule{
"name": NameRule{},
"type": TypeRule{},