.gitignore (413B)
1 ### Go.AllowList template 2 # Allowlisting gitignore template for GO projects prevents us 3 # from adding various unwanted local files, such as generated 4 # files, developer configurations or IDE-specific files etc. 5 # 6 # Recommended: Go.AllowList.gitignore 7 8 # Ignore everything 9 * 10 11 # But not these files... 12 !/.gitignore 13 14 !*.go 15 !go.sum 16 !go.mod 17 18 !README 19 !LICENSE 20 21 # !Makefile 22 23 # ...even if they are in subdirectories 24 !*/ 25