{"id":24540010,"url":"https://github.com/spurtcms/forms-builders","last_synced_at":"2025-10-29T02:35:57.118Z","repository":{"id":257802359,"uuid":"860768656","full_name":"spurtcms/forms-builders","owner":"spurtcms","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-14T13:25:31.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-14T14:29:52.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/spurtcms.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-21T05:53:13.000Z","updated_at":"2025-02-14T13:24:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a69df62-782d-4b7f-b99c-bc11e47e62f5","html_url":"https://github.com/spurtcms/forms-builders","commit_stats":null,"previous_names":["spurtcms/forms-builders"],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fforms-builders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fforms-builders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fforms-builders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spurtcms%2Fforms-builders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spurtcms","download_url":"https://codeload.github.com/spurtcms/forms-builders/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826778,"owners_count":20354220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-01-22T17:17:53.310Z","updated_at":"2025-10-29T02:35:52.066Z","avatar_url":"https://github.com/spurtcms.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# forms-builders\n\n# Installation\n\n``` bash\ngo get github.com/spurtcms/forms-builders \n```\n\n\n# Usage Example\n\n``` bash\nimport (\n\t\"github.com/spurtcms/auth\"\n\t\"github.com/spurtcms/forms-builders\"\n)\n\nfunc main() {\n\n\tAuth := auth.AuthSetup(auth.Config{\n\t\tUserId:     1,\n\t\tExpiryTime: 2,\n\t\tSecretKey:  \"SecretKey@123\",\n\t\tDB: \u0026gorm.DB{},\n\t\tRoleId: 1,\n\t})\n\n\ttoken, _ := Auth.CreateToken()\n\n\tAuth.VerifyToken(token, SecretKey)\n\n\tpermission, _ := Auth.IsGranted(\"Forms Builder\", auth.CRUD, 1)\n\n\tForms := FormSetup(Config{\n\t\tDB:               db,\n\t\tAuthEnable:       true,\n\t\tPermissionEnable: true,\n\t\tAuth:             Auth,\n\t})\n\n\tif permisison {\n\n\t\t//list forms-builders\n\t\tFormlist, TotalFormsCount, responseCount, err := Forms.FormBuildersList(10, 0, Filter{}, 1, 1)\n\n\t\tif err != nil {\n\t\t\tfmt.Println(err)\n\t\t}\n\n\t\t//create forms-builders\n\t\terr := Forms.CreateForms(tblForm)\n\t\tif err != nil {\n\t\t\tfmt.Println(err)\n\t\t}\n\n\t\t//update forms-builders\n\t\terr := Forms.UpdateForms(tblForm, 1)\n\t\tif err != nil {\n\t\t\tfmt.Println(err)\n\t\t}\n\n\t\t// delete forms-builders\n\t\terr := Forms.Formdelete(10, 2, 1)\n\t\tif err != nil {\n\t\t\tfmt.Println(err)\n\t\t}\n\t}\n}\n\n```\n# Getting help\nIf you encounter a problem with the package,please refer [Please refer [(https://www.spurtcms.com/documentation/cms-admin)] or you can create a new Issue in this repo[https://github.com/spurtcms/forms-builders/issues]. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspurtcms%2Fforms-builders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspurtcms%2Fforms-builders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspurtcms%2Fforms-builders/lists"}