Skip to content

feat: Add base templates for Go application structure#1

Merged
illud merged 1 commit intomainfrom
feature/codegen-text-template
Jul 12, 2025
Merged

feat: Add base templates for Go application structure#1
illud merged 1 commit intomainfrom
feature/codegen-text-template

Conversation

@illud
Copy link
Owner

@illud illud commented Jul 12, 2025

  • Created .env.tmpl for environment variable configuration.
  • Added .gitignore.tmpl to exclude unnecessary files from version control.
  • Introduced README.tmpl with project description and usage instructions.
  • Implemented bcrypt.go.tmpl for password hashing and verification.
  • Developed db.go.tmpl for database connection using GORM.
  • Added env.go.tmpl for loading environment variables.
  • Created errors.go.tmpl for standardized error handling.
  • Implemented getTasks_test.go.tmpl for testing task retrieval.
  • Developed jwt.go.tmpl for JWT token generation and validation.
  • Created main.go.tmpl as the entry point for the application.
  • Added router.go.tmpl for setting up HTTP routes.
  • Implemented tasks.controller.go.tmpl for task-related HTTP handlers.
  • Developed tasks.db.go.tmpl for task database operations.
  • Created tasks.model.go.tmpl for task data structure definition.
  • Added tasks.repository.go.tmpl for task repository interface.
  • Implemented tasks.service.go.tmpl for task business logic.
  • Created tracker.json.tmpl for module tracking configuration.
  • Developed gorm.tmpl for GORM database connection setup.
  • Added mysql.tmpl for MySQL database connection setup.
  • Created endpoint templates for post operations including controller, infrastructure, repository, and service.
  • Developed module templates for creating a modular application structure.

@illud illud merged commit cd4c037 into main Jul 12, 2025
1 check failed
- Created .env.tmpl for environment variable configuration.
- Added .gitignore.tmpl to exclude unnecessary files from version control.
- Introduced README.tmpl with project description and usage instructions.
- Implemented bcrypt.go.tmpl for password hashing and verification.
- Developed db.go.tmpl for database connection using GORM.
- Added env.go.tmpl for loading environment variables.
- Created errors.go.tmpl for standardized error handling.
- Implemented getTasks_test.go.tmpl for testing task retrieval.
- Developed jwt.go.tmpl for JWT token generation and validation.
- Created main.go.tmpl as the entry point for the application.
- Added router.go.tmpl for setting up HTTP routes.
- Implemented tasks.controller.go.tmpl for task-related HTTP handlers.
- Developed tasks.db.go.tmpl for task database operations.
- Created tasks.model.go.tmpl for task data structure definition.
- Added tasks.repository.go.tmpl for task repository interface.
- Implemented tasks.service.go.tmpl for task business logic.
- Created tracker.json.tmpl for module tracking configuration.
- Developed gorm.tmpl for GORM database connection setup.
- Added mysql.tmpl for MySQL database connection setup.
- Created endpoint templates for post operations including controller, infrastructure, repository, and service.
- Developed module templates for creating a modular application structure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant