fullstack-golang-example

module
v0.0.0-...-0dc6a42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: MIT

README

Fullstack Golang Example

Example project to explore best practices for full stack website in Golang.

Prerequisite

  • Programming Language: Go
  • Task Manager/Build-Tool: GoTask
  • Live reload for Go Apps: Air
# For Mac
brew install go
brew install go-task
go install github.com/air-verse/air@latest

Getting Started

task --list-all   # Show available tasks
task run          # Run the project
task watch        # Watch CSS/JS 

Tech Overview

Project Checklist

  • Live reload
  • Nested templates (by project folder)
  • Watch CSS/JS
  • Custom Error Page
  • Go embed
  • Session
  • Database operation

Author

iman.tung@gmail.com

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Directories

Path Synopsis
cmd
internal
app
app/infra/di
wrapper for dependency injection using dig
wrapper for dependency injection using dig
tools
dotenv-gen command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL