# source: https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
# -------------------------------------------------------------------------------------------------
# Allowlisting gitignore template for GO projects prevents us
# from adding various unwanted local files, such as generated
# files, developer configurations or IDE-specific files etc.
#
# Recommended: Go.AllowList.gitignore

# Ignore everything
*

# But not these files...
!/.gitignore

!*.go
!*.templ
!*.sql
!go.sum
!go.mod

!*.md
!LICENSE
!flake.nix
!flake.lock

!.env.example

!web/**/*

web/resources/static/libs/*
plans/*

!litestream.yml
!fly.toml
!.tangled/**/*

# !Makefile

# ...even if they are in subdirectories
!*/
