Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📁 Project Structure

├── cmd/                    # Main applications
├── internal/              # Private application code
├── pkg/                   # Reusable library code
├── api/                   # API definitions
├── config/                # Configuration files
├── docs/                  # Documentation
├── test/                  # Test utilities and data
├── build/                 # Build-related files
│   └── docker/           # Docker configurations
└── .github/workflows/    # CI/CD pipelines

🛠️ Getting Started

  1. Clone the repository

    git clone https://github.com/your-username/template-golang.git
    cd template-golang
  2. Install dependencies

    go mod tidy
  3. Run the application

    go run cmd/main.go
  4. Run tests

    go test ./...

Docker Development

  1. Build Docker image

    docker build -t template-golang -f build/docker/Dockerfile .
  2. Run with Docker Compose

    docker-compose -f build/docker/docker-compose.yml up

🔧 Configuration

Copy the example environment file and configure as needed:

cp .env.example .env

Creating a Release

git tag v1.0.0
git push origin v1.0.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages