Moving go code to subdir.
This commit is contained in:
25
.gitignore
vendored
25
.gitignore
vendored
@@ -1,26 +1,3 @@
|
|||||||
# 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
|
|
||||||
*
|
|
||||||
|
|
||||||
.env
|
.env
|
||||||
# But not these files...
|
.swp
|
||||||
!/.gitignore
|
|
||||||
|
|
||||||
!*.go
|
|
||||||
!go.sum
|
|
||||||
!go.mod
|
|
||||||
|
|
||||||
!README.md
|
|
||||||
!LICENSE
|
|
||||||
|
|
||||||
# !Makefile
|
|
||||||
|
|
||||||
# ...even if they are in subdirectories
|
|
||||||
!*/
|
|
||||||
!.gitea/*
|
|
||||||
!.gitea/workflows/*
|
|
||||||
|
|||||||
16
code/.gitignore
vendored
Normal file
16
code/.gitignore
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# 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
|
||||||
|
*
|
||||||
|
|
||||||
|
.env
|
||||||
|
# But not these files...
|
||||||
|
!/.gitignore
|
||||||
|
|
||||||
|
!*.go
|
||||||
|
!go.sum
|
||||||
|
!go.mod
|
||||||
Reference in New Issue
Block a user