functions

The Fool guy's FAAS
git clone git://git.lair.cx/functions
Log | Files | Refs | README

.gitignore (437B)


      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 !/.dockerignore
     13 
     14 !*.go
     15 !go.sum
     16 !go.mod
     17 
     18 !README
     19 !LICENSE
     20 
     21 !Makefile
     22 
     23 !Dockerfile
     24 
     25 !/cmd/fnctl/*.conflist
     26 
     27 # ...even if they are in subdirectories
     28 !*/