Skip to content

Commit

Permalink
feat: add ascii art
Browse files Browse the repository at this point in the history
  • Loading branch information
Caknoooo committed Jan 20, 2025
1 parent 9328bc4 commit c1915cf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ seed:
docker exec -it ${CONTAINER_NAME} /bin/sh -c "go run main.go --seed"

migrate-seed:
docker exec -it ${CONTAINER_NAME} /bin/sh -c "go run main.go --migrate --seed"
docker exec -it ${CONTAINER_NAME} /bin/sh -c "go run main.go --migrate --seed"

go-tidy:
docker exec -it ${CONTAINER_NAME} /bin/sh -c "go mod tidy"
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/Caknoooo/go-gin-clean-starter
go 1.21

require (
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be
github.com/gin-gonic/gin v1.9.0
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/google/uuid v1.3.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDk
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be h1:J5BL2kskAlV9ckgEsNQXscjIaLiOYiZ75d4e94E6dcQ=
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be/go.mod h1:mk5IQ+Y0ZeO87b858TlA645sVcEcbiX6YqP98kt+7+w=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/Caknoooo/go-gin-clean-starter/service"
"gorm.io/gorm"

"github.com/common-nighthawk/go-figure"
"github.com/gin-gonic/gin"
)

Expand Down Expand Up @@ -68,6 +69,9 @@ func main() {
serve = ":" + port
}

myFigure := figure.NewColorFigure("Caknoo", "", "green", true)
myFigure.Print()

if err := server.Run(serve); err != nil {
log.Fatalf("error running server: %v", err)
}
Expand Down

0 comments on commit c1915cf

Please sign in to comment.