Skip to content

Commit

Permalink
fix: used embed.FS instead statik for embed swagger files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Jun 29, 2024
1 parent ae3b0ee commit a1fe02a
Show file tree
Hide file tree
Showing 5 changed files with 2,224 additions and 69 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ docker:
proto:
$(RM) www/grpc/gen
cd www/grpc/buf && buf generate --template buf.gen.yaml ../proto
# Generate static assets for Swagger-UI
cd www/grpc/ && statik -m -f -src swagger-ui/

########################################
### Formatting the code
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ require (
github.com/pelletier/go-toml v1.9.5
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.19.1
github.com/rakyll/statik v0.1.7
github.com/rs/zerolog v1.33.0
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
Expand Down
Loading

0 comments on commit a1fe02a

Please sign in to comment.