aboutsummaryrefslogtreecommitdiff
path: root/form_input.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-11 13:33:11 +0700
committerShulhan <ms@kilabit.info>2023-11-11 13:34:43 +0700
commit08852664aa6952e727addb0c24ad8f56274e09bb (patch)
treed4f59e9000a2676bf1c5952c0cbeb6a5ff1f7443 /form_input.go
parente56ee3e03a34fa738b626a4fd22fbc051bf7f0b0 (diff)
downloadgorankusu-08852664aa6952e727addb0c24ad8f56274e09bb.tar.xz
Makefile: replace the Go linter and apply all their recommendations
Previously, we use golangci-lint as linter. This linter does not provides any useful recommendation lately and the development is quite a mess, sometimes its break when using Go tip. In this changes we replace it with revive, fieldalignment, and shadow; and fix all of their recommendations.
Diffstat (limited to 'form_input.go')
-rw-r--r--form_input.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/form_input.go b/form_input.go
index 5fd0a8d..9934f51 100644
--- a/form_input.go
+++ b/form_input.go
@@ -3,6 +3,7 @@
package trunks
+// FormInputKind define type for form input.
type FormInputKind string
// List of valid value for field FormInput.Kind.