Initial commit
This commit is contained in:
13
hooks/post_gen_project.py
Normal file
13
hooks/post_gen_project.py
Normal file
@ -0,0 +1,13 @@
|
||||
import subprocess
|
||||
|
||||
GO_PACKAGES = [
|
||||
"github.com/gofiber/fiber/v2"
|
||||
]
|
||||
|
||||
def main() -> int:
|
||||
for package in GO_PACKAGES:
|
||||
subprocess.run(["go", "get", "-u", package])
|
||||
return 0
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
Reference in New Issue
Block a user