github.com/safedep/dry@v0.0.0-20241016050132-a15651f0548b/README.md (about)

     1  # DRY for Go
     2  Do not repeat yourself. Re-usable utils for Go apps
     3  
     4  ## TL;DR
     5  
     6  Re-usable Go modules for building [https://safedep.io](https://safedep.io)
     7  
     8  ## Development
     9  
    10  ### Setup
    11  
    12  * Need `golang-1.21`, refer `.tool-versions`
    13  * Install `gitleaks` following [instructions](https://github.com/gitleaks/gitleaks#installing)
    14  * Install `lefthook`
    15  
    16  ```bash
    17  go install github.com/evilmartians/lefthook@latest
    18  ```
    19  
    20  * Install git hooks
    21  
    22  ```bash
    23  $(go env GOPATH)/bin/lefthook install
    24  ```