diff options
| author | Amir Zarrinkafsh <nightah@me.com> | 2020-05-03 02:20:40 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-02 18:20:40 +0200 |
| commit | be0cc72473d30f66aabb1aab4f20e06ae6a44053 (patch) | |
| tree | 7ae60e894c34da99d48aa5491c1254e5daee43e8 /internal/configuration/schema/const.go | |
| parent | 310c5dc09b1ae00373f710a60bb63d59f5c91dbc (diff) | |
[CI] Add goconst linter (#961)
* [CI] Add goconst linter
* Implement goconst recommendations
* Rename defaultPolicy to denyPolicy
* Change order for test constants
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
Diffstat (limited to 'internal/configuration/schema/const.go')
| -rw-r--r-- | internal/configuration/schema/const.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/configuration/schema/const.go b/internal/configuration/schema/const.go new file mode 100644 index 000000000..c11f5b5da --- /dev/null +++ b/internal/configuration/schema/const.go @@ -0,0 +1,3 @@ +package schema + +const denyPolicy = "deny" |
