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