{"id":42988409,"url":"https://github.com/semihs/goform","last_synced_at":"2026-01-31T02:33:43.601Z","repository":{"id":57499039,"uuid":"89778044","full_name":"semihs/goform","owner":"semihs","description":"Golang web forms, html5 support, file upload, bind from interface, bind from request, map to struct, template support, validations, filters and build query support","archived":false,"fork":false,"pushed_at":"2021-01-15T12:39:54.000Z","size":48,"stargazers_count":15,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T11:16:06.601Z","etag":null,"topics":["form","go-file-upload","go-form","go-forms","go-html5-forms","golang","golang-file-upload","golang-form","golang-web-forms","html5-forms"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/semihs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-29T10:19:17.000Z","updated_at":"2024-06-11T12:49:21.000Z","dependencies_parsed_at":"2022-08-28T14:20:59.998Z","dependency_job_id":null,"html_url":"https://github.com/semihs/goform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/semihs/goform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihs%2Fgoform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihs%2Fgoform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihs%2Fgoform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihs%2Fgoform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semihs","download_url":"https://codeload.github.com/semihs/goform/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semihs%2Fgoform/sbom","scorecard":{"id":810818,"data":{"date":"2025-08-11","repo":{"name":"github.com/semihs/goform","commit":"01bac3142a39502738ca3dc740d89431591e21fb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":1,"reason":"Found 3/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T13:07:56.681Z","repository_id":57499039,"created_at":"2025-08-23T13:07:56.681Z","updated_at":"2025-08-23T13:07:56.681Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28927223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"online","status_checked_at":"2026-01-31T02:00:09.179Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["form","go-file-upload","go-form","go-forms","go-html5-forms","golang","golang-file-upload","golang-form","golang-web-forms","html5-forms"],"created_at":"2026-01-31T02:33:43.497Z","updated_at":"2026-01-31T02:33:43.588Z","avatar_url":"https://github.com/semihs.png","language":"Go","readme":"# GoForm (GoLang Web Forms)\nGolang Web Forms validations, rendering and binding.\n\n## Features\n* HTML5 Support\n* Bind From Interface\n* Bind From Request\n* Map to your struct\n* Validation\n* Build Query String\n* Template\n\n## Installation\n```\ngo get github.com/semihs/goform\n```\n\n## Examples\nSee [examples](https://github.com/semihs/goform/tree/master/samples).\n\n## Usage\n\n### Make a form\n\n```go\npackage main\n\nimport (\n\t\"github.com/semihs/goform\"\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar view string = `\n\u003cform method=\"post\" action=\"\"\u003e\n{{range .GetElements}}\n  {{.Render}}\n{{end}}\n\u003c/form\u003e\n`\n\nfunc main() {\n\temail := goform.NewEmailElement(\"email\", \"Email\", []*goform.Attribute{}, []goform.ValidatorInterface{\n\t\t\u0026goform.RequiredValidator{},\n\t}, []goform.FilterInterface{})\n\tpassword := goform.NewPasswordElement(\"password\", \"Password\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n\tsubmit := goform.NewButtonElement(\"submit\", \"Login\", []*goform.Attribute{})\n\n\tform := goform.NewGoForm()\n\tform.Add(email)\n\tform.Add(password)\n\tform.Add(submit)\n\n\ttpl, _ := template.New(\"tpl\").Parse(view)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Header().Set(\"Content-Type\", \"text/html\")\n\t\tif r.Method != \"POST\" {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t\tr.ParseForm()\n\t\tform.BindFromRequest(r)\n\t\tif !form.IsValid() {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t})\n\thttp.ListenAndServe(\":2626\", nil)\n}\n```\n\n### Bind From Request\n\n```go\npackage main\n\nimport (\n\t\"github.com/semihs/goform\"\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar view string = `\n\u003cform method=\"post\" action=\"\"\u003e\n{{range .GetElements}}\n  {{.Render}}\n{{end}}\n\u003c/form\u003e\n`\n\nfunc main() {\n\temail := goform.NewEmailElement(\"email\", \"Email\", []*goform.Attribute{}, []goform.ValidatorInterface{\n\t\t\u0026goform.RequiredValidator{},\n\t}, []goform.FilterInterface{})\n\tpassword := goform.NewPasswordElement(\"password\", \"Password\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n\tsubmit := goform.NewButtonElement(\"submit\", \"Login\", []*goform.Attribute{})\n\n\tform := goform.NewGoForm()\n\tform.Add(email)\n\tform.Add(password)\n\tform.Add(submit)\n\n\ttpl, _ := template.New(\"tpl\").Parse(view)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Header().Set(\"Content-Type\", \"text/html\")\n\t\tif r.Method != \"POST\" {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t\tr.ParseForm()\n\t\tform.BindFromRequest(r)\n\t\ttpl.Execute(w, form)\n\t\treturn\n\t})\n\thttp.ListenAndServe(\":2626\", nil)\n\n}\n```\n\n### Bind From Interface\n\n```go\npackage main\n\nimport (\n\t\"github.com/semihs/goform\"\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar view string = `\n\u003cform method=\"post\" action=\"\"\u003e\n{{range .GetElements}}\n  {{.Render}}\n{{end}}\n\u003c/form\u003e\n`\n\ntype YourInterface struct {\n\tEmail    string\n\tPassword string\n}\n\nfunc main() {\n\temail := goform.NewEmailElement(\"email\", \"Email\", []*goform.Attribute{}, []goform.ValidatorInterface{\n\t\t\u0026goform.RequiredValidator{},\n\t}, []goform.FilterInterface{})\n\tpassword := goform.NewPasswordElement(\"password\", \"Password\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n\tsubmit := goform.NewButtonElement(\"submit\", \"Login\", []*goform.Attribute{})\n\n\tform := goform.NewGoForm()\n\tform.Add(email)\n\tform.Add(password)\n\tform.Add(submit)\n\n\ttpl, _ := template.New(\"tpl\").Parse(view)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Header().Set(\"Content-Type\", \"text/html\")\n\t\tif r.Method != \"POST\" {\n\t\t\ts := YourInterface{\n\t\t\t\tEmail:    \"semihsari@gmail.com\",\n\t\t\t\tPassword: \"password\",\n\t\t\t}\n\t\t\tform.BindFromInterface(s)\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t})\n\thttp.ListenAndServe(\":2626\", nil)\n\n}\n```\n\n### Map to your struct\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/semihs/goform\"\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar view string = `\n\u003cform method=\"post\" action=\"\"\u003e\n{{range .GetElements}}\n  {{.Render}}\n{{end}}\n\u003c/form\u003e\n`\n\ntype YourStruct struct {\n\tEmail    string\n\tPassword string\n}\n\nfunc main() {\n\temail := goform.NewEmailElement(\"email\", \"Email\", []*goform.Attribute{}, []goform.ValidatorInterface{\n\t\t\u0026goform.RequiredValidator{},\n\t}, []goform.FilterInterface{})\n\tpassword := goform.NewPasswordElement(\"password\", \"Password\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n\tsubmit := goform.NewButtonElement(\"submit\", \"Login\", []*goform.Attribute{})\n\n\tform := goform.NewGoForm()\n\tform.Add(email)\n\tform.Add(password)\n\tform.Add(submit)\n\n\ttpl, _ := template.New(\"tpl\").Parse(view)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Header().Set(\"Content-Type\", \"text/html\")\n\t\tif r.Method != \"POST\" {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t\tr.ParseForm()\n\t\tform.BindFromRequest(r)\n\n\t\ts := YourStruct{}\n\t\tform.MapTo(\u0026s)\n\t\tfmt.Println(s)\n\t})\n\thttp.ListenAndServe(\":2626\", nil)\n\n}\n```\n\n### Validate a request\n\n```go\npackage main\n\nimport (\n\t\"github.com/semihs/goform\"\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar view string = `\n\u003cform method=\"post\" action=\"\"\u003e\n{{range .GetElements}}\n  {{.Render}}\n{{end}}\n\u003c/form\u003e\n`\n\nfunc main() {\n\temail := goform.NewEmailElement(\"email\", \"Email\", []*goform.Attribute{}, []goform.ValidatorInterface{\n\t\t\u0026goform.RequiredValidator{},\n\t}, []goform.FilterInterface{})\n\tpassword := goform.NewPasswordElement(\"password\", \"Password\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n\tsubmit := goform.NewButtonElement(\"submit\", \"Login\", []*goform.Attribute{})\n\n\tform := goform.NewGoForm()\n\tform.Add(email)\n\tform.Add(password)\n\tform.Add(submit)\n\n\ttpl, _ := template.New(\"tpl\").Parse(view)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Header().Set(\"Content-Type\", \"text/html\")\n\t\tif r.Method != \"POST\" {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t\tr.ParseForm()\n\t\tform.BindFromRequest(r)\n\n\t\tif !form.IsValid() {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t})\n\thttp.ListenAndServe(\":2626\", nil)\n\n}\n```\n\n### Change Template\ngoform provides bootstrap 4 alpha textual and inline templates, if you want to make custom template look at the template.go and use SetTemplate method form. Your template must be goform.Theme type\n\n```go\npackage main\n\nimport (\n\t\"github.com/semihs/goform\"\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar view string = `\n\u003cform method=\"post\" action=\"\"\u003e\n{{range .GetElements}}\n  {{.Render}}\n{{end}}\n\u003c/form\u003e\n`\n\nfunc main() {\n\temail := goform.NewEmailElement(\"email\", \"Email\", []*goform.Attribute{}, []goform.ValidatorInterface{\n\t\t\u0026goform.RequiredValidator{},\n\t}, []goform.FilterInterface{})\n\tpassword := goform.NewPasswordElement(\"password\", \"Password\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n\tsubmit := goform.NewButtonElement(\"submit\", \"Login\", []*goform.Attribute{})\n\n\tform := goform.NewGoForm()\n\tform.SetTheme(goform.ThemeBootstrap4alpha6Inline)\n\tform.Add(email)\n\tform.Add(password)\n\tform.Add(submit)\n\n\ttpl, _ := template.New(\"tpl\").Parse(view)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Header().Set(\"Content-Type\", \"text/html\")\n\t\tif r.Method != \"POST\" {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t})\n\thttp.ListenAndServe(\":2626\", nil)\n}\n```\n\n### Build Query\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/semihs/goform\"\n\t\"net/http\"\n\t\"text/template\"\n)\n\nvar view string = `\n\u003cform method=\"post\" action=\"\"\u003e\n{{range .GetElements}}\n  {{.Render}}\n{{end}}\n\u003c/form\u003e\n`\n\nfunc main() {\n\temail := goform.NewEmailElement(\"email\", \"Email\", []*goform.Attribute{}, []goform.ValidatorInterface{\n\t\t\u0026goform.RequiredValidator{},\n\t}, []goform.FilterInterface{})\n\tpassword := goform.NewPasswordElement(\"password\", \"Password\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n\tsubmit := goform.NewButtonElement(\"submit\", \"Login\", []*goform.Attribute{})\n\n\tform := goform.NewGoForm()\n\tform.Add(email)\n\tform.Add(password)\n\tform.Add(submit)\n\n\ttpl, _ := template.New(\"tpl\").Parse(view)\n\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\tw.Header().Set(\"Content-Type\", \"text/html\")\n\t\tif r.Method != \"POST\" {\n\t\t\ttpl.Execute(w, form)\n\t\t\treturn\n\t\t}\n\t\tr.ParseForm()\n\t\tform.BindFromRequest(r)\n\t\tfmt.Println(form.BuildQuery())\n\t})\n\thttp.ListenAndServe(\":2626\", nil)\n\n}\n```\n\n### Elements\n\n#### Text Element\n```go\ngoform.NewTextElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Textarea Element\n```go\ngoform.NewTextareaElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Email Element\n```go\ngoform.NewEmailElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Checkbox Element\n```go\ngoform.NewCheckboxElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Select Element\n```go\ngoform.NewSelectElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []*goform.ValueOption{\n    \u0026goform.ValueOption{Value: \"1\", Label: \"Option 1\"},\n    \u0026goform.ValueOption{Value: \"2\", Label: \"Option 2\"},\n}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Radio Element\n```go\ngoform.NewRadioElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []*goform.ValueOption{\n    \u0026goform.ValueOption{Value: \"1\", Label: \"Option 1\"},\n    \u0026goform.ValueOption{Value: \"2\", Label: \"Option 2\"},\n}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Multicheckbox Element\n```go\ngoform.NewMultiCheckboxElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []*goform.ValueOption{\n    \u0026goform.ValueOption{Value: \"1\", Label: \"Option 1\"},\n    \u0026goform.ValueOption{Value: \"2\", Label: \"Option 2\"},\n}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Number Element\n```go\ngoform.NewNumberElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Search Element\n```go\ngoform.NewSearchElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Tel Element\n```go\ngoform.NewTelElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Hidden Element\n```go\ngoform.NewHiddenElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Password Element\n```go\ngoform.NewPasswordElement(\"element_name\", \"Element Label\", []*goform.Attribute{}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Image Element\n```go\ngoform.NewImageElement(\"element_name\", \"Element Label\", []*goform.Attribute{\n        \u0026goform.Attribute{Key:\"src\", Value: \"/img/src/image.png\"}\n}, []goform.ValidatorInterface{}, []goform.FilterInterface{})\n```\n#### Button Element\n```go\ngoform.NewButtonElement(\"submit\", \"Save\", []*goform.Attribute{})\n```\n#### Submit Element\n```go\ngoform.NewSubmitElement(\"submit\", \"Save\", []*goform.Attribute{})\n```\n\n## Todo List\n* Input Filters (tolower, toupper, alpha, numeric...)\n* Validations (identical, min-max length, min-max value, alpha, regex...)\n* Tests\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemihs%2Fgoform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemihs%2Fgoform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemihs%2Fgoform/lists"}