Files
2025-04-09 01:00:12 +01:00

28 lines
408 B
Plaintext

# 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
!*.yml
!*.yaml
!*.go
!go.sum
!go.mod
!*.md
!LICENSE*
# ...even if they are in subdirectories
!*/
!doc/*
!testdata/*