Template
1
0
Fork 0

Cleaned up directory stucture

This commit is contained in:
Atridad Lahiji 2024-03-03 01:09:40 -07:00
parent 2fd4262a86
commit a87fb66080
No known key found for this signature in database
13 changed files with 6 additions and 4 deletions

View file

@ -6,9 +6,9 @@ tmp_dir = "tmp"
args_bin = ["-ip", "127.0.0.1", "-port", "3000"]
bin = "./tmp/main"
pre_cmd = []
cmd = "go build -o ./tmp/main . & cd stylegen && ./gen.sh"
cmd = "go build -o ./tmp/main . & cd lib/stylegen && ./gen.sh"
delay = 1000
exclude_dir = ["assets", "tmp", "vendor", "testdata", "stylegen"]
exclude_dir = ["assets", "tmp", "vendor", "testdata", "lib/stylegen"]
exclude_file = []
exclude_regex = ["_test.go"]
exclude_unchanged = false

2
go.mod
View file

@ -41,7 +41,7 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/redis/go-redis/v9 v9.5.1
github.com/resendlabs/resend-go v1.7.0
github.com/stripe/stripe-go/v76 v76.18.0
github.com/stripe/stripe-go/v76 v76.19.0
github.com/svix/svix-webhooks v1.20.0
github.com/yuin/goldmark v1.7.0
github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc

2
go.sum
View file

@ -79,6 +79,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stripe/stripe-go/v76 v76.18.0 h1:MYUgecXPoUDJ36hjKtc8h2fzpj0MpRBrN9KGCULFTbg=
github.com/stripe/stripe-go/v76 v76.18.0/go.mod h1:rw1MxjlAKKcZ+3FOXgTHgwiOa2ya6CPq6ykpJ0Q6Po4=
github.com/stripe/stripe-go/v76 v76.19.0 h1:aJIs+B8mKOQE90SNOFmnc7j8xyvJT66kpZQVRxXbkf0=
github.com/stripe/stripe-go/v76 v76.19.0/go.mod h1:rw1MxjlAKKcZ+3FOXgTHgwiOa2ya6CPq6ykpJ0Q6Po4=
github.com/svix/svix-webhooks v1.20.0 h1:XJOrxii+YxxivXcs/3I4/8FhDg3pNzEUm4c93RUEiLU=
github.com/svix/svix-webhooks v1.20.0/go.mod h1:qGeiECF5WRQElyfF0i2CqUtWk2GQJTgL+EJZ/WRCxok=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=

BIN
main Executable file

Binary file not shown.

2
main.go Normal file → Executable file
View file

@ -10,11 +10,11 @@ import (
"time"
"atri.dad/api"
"atri.dad/api/webhooks"
"atri.dad/lib"
"atri.dad/lib/pubsub"
"atri.dad/lib/pubsub/adapters"
"atri.dad/pages"
"atri.dad/webhooks"
"github.com/joho/godotenv"
"github.com/labstack/echo/v4"