Skip to content

Commit 12ed58f

Browse files
committed
feat(main): Refreshed template
1 parent 6151a88 commit 12ed58f

File tree

6 files changed

+72
-74
lines changed

6 files changed

+72
-74
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Multistage build
2-
FROM golang:1.23 as build
2+
FROM golang:1.24 as build
33
ENV CGO_ENABLED=0
44
ENV GOOS=linux
55
ENV GOARCH=amd64

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Yokai HTTP Template
22

33
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
4-
[![Go version](https://img.shields.io/badge/Go-1.23-blue)](https://go.dev/)
4+
[![Go version](https://img.shields.io/badge/Go-1.24-blue)](https://go.dev/)
55
[![Documentation](https://img.shields.io/badge/Doc-online-cyan)](https://ankorstore.github.io/yokai/)
66

77
> HTTP application template based on the [Yokai](https://github.com/ankorstore/yokai) Go framework.

configs/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ app:
44
modules:
55
core:
66
server:
7+
expose: true
78
address: ":8081"
89
dashboard:
910
enabled: true

dev.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM golang:1.23-alpine
1+
FROM golang:1.24-alpine
22

3-
RUN go install github.com/air-verse/air@v1.52.3
3+
RUN go install github.com/air-verse/air@v1.61.7
44

55
WORKDIR /app
66

go.mod

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
module github.com/ankorstore/yokai-http-template
22

3-
go 1.23
3+
go 1.24
44

55
require (
66
github.com/ankorstore/yokai/config v1.5.0
7-
github.com/ankorstore/yokai/fxcore v1.9.0
8-
github.com/ankorstore/yokai/fxhttpserver v1.5.0
7+
github.com/ankorstore/yokai/fxconfig v1.3.0
8+
github.com/ankorstore/yokai/fxcore v1.12.0
9+
github.com/ankorstore/yokai/fxhttpserver v1.7.0
910
github.com/ankorstore/yokai/log v1.2.0
10-
github.com/ankorstore/yokai/trace v1.3.0
11-
github.com/labstack/echo/v4 v4.12.0
12-
github.com/prometheus/client_golang v1.20.4
13-
github.com/spf13/cobra v1.8.1
14-
github.com/stretchr/testify v1.9.0
11+
github.com/ankorstore/yokai/trace v1.4.0
12+
github.com/labstack/echo/v4 v4.13.3
13+
github.com/prometheus/client_golang v1.22.0
14+
github.com/spf13/cobra v1.9.1
15+
github.com/stretchr/testify v1.10.0
1516
go.opentelemetry.io/otel v1.24.0
16-
go.uber.org/fx v1.22.2
17+
go.uber.org/fx v1.23.0
1718
)
1819

1920
require (
20-
github.com/ankorstore/yokai/fxconfig v1.3.0 // indirect
21-
github.com/ankorstore/yokai/fxgenerate v1.2.0 // indirect
21+
github.com/ankorstore/yokai/fxgenerate v1.3.0 // indirect
2222
github.com/ankorstore/yokai/fxhealthcheck v1.1.0 // indirect
2323
github.com/ankorstore/yokai/fxlog v1.1.0 // indirect
2424
github.com/ankorstore/yokai/fxmetrics v1.2.0 // indirect
2525
github.com/ankorstore/yokai/fxtrace v1.2.0 // indirect
26-
github.com/ankorstore/yokai/generate v1.2.0 // indirect
26+
github.com/ankorstore/yokai/generate v1.3.0 // indirect
2727
github.com/ankorstore/yokai/healthcheck v1.1.0 // indirect
28-
github.com/ankorstore/yokai/httpserver v1.5.0 // indirect
28+
github.com/ankorstore/yokai/httpserver v1.6.0 // indirect
2929
github.com/arl/statsviz v0.6.0 // indirect
3030
github.com/beorn7/perks v1.0.1 // indirect
3131
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
@@ -35,13 +35,11 @@ require (
3535
github.com/go-errors/errors v1.5.1 // indirect
3636
github.com/go-logr/logr v1.4.1 // indirect
3737
github.com/go-logr/stdr v1.2.2 // indirect
38-
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
3938
github.com/google/uuid v1.6.0 // indirect
4039
github.com/gorilla/websocket v1.5.1 // indirect
4140
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
4241
github.com/hashicorp/hcl v1.0.0 // indirect
4342
github.com/inconshreveable/mousetrap v1.1.0 // indirect
44-
github.com/klauspost/compress v1.17.9 // indirect
4543
github.com/kylelemons/godebug v1.1.0 // indirect
4644
github.com/labstack/gommon v0.4.2 // indirect
4745
github.com/magiconair/properties v1.8.7 // indirect
@@ -52,15 +50,15 @@ require (
5250
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
5351
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5452
github.com/prometheus/client_model v0.6.1 // indirect
55-
github.com/prometheus/common v0.55.0 // indirect
53+
github.com/prometheus/common v0.62.0 // indirect
5654
github.com/prometheus/procfs v0.15.1 // indirect
57-
github.com/rs/zerolog v1.32.0 // indirect
55+
github.com/rs/zerolog v1.33.0 // indirect
5856
github.com/sagikazarmark/locafero v0.4.0 // indirect
5957
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
6058
github.com/sourcegraph/conc v0.3.0 // indirect
6159
github.com/spf13/afero v1.11.0 // indirect
6260
github.com/spf13/cast v1.6.0 // indirect
63-
github.com/spf13/pflag v1.0.5 // indirect
61+
github.com/spf13/pflag v1.0.6 // indirect
6462
github.com/spf13/viper v1.19.0 // indirect
6563
github.com/subosito/gotenv v1.6.0 // indirect
6664
github.com/valyala/bytebufferpool v1.0.0 // indirect
@@ -75,16 +73,16 @@ require (
7573
go.uber.org/dig v1.18.0 // indirect
7674
go.uber.org/multierr v1.11.0 // indirect
7775
go.uber.org/zap v1.27.0 // indirect
78-
golang.org/x/crypto v0.24.0 // indirect
76+
golang.org/x/crypto v0.31.0 // indirect
7977
golang.org/x/exp v0.0.0-20240404231335-c0f41cb1a7a0 // indirect
80-
golang.org/x/net v0.26.0 // indirect
81-
golang.org/x/sys v0.22.0 // indirect
82-
golang.org/x/text v0.16.0 // indirect
83-
golang.org/x/time v0.5.0 // indirect
78+
golang.org/x/net v0.33.0 // indirect
79+
golang.org/x/sys v0.30.0 // indirect
80+
golang.org/x/text v0.21.0 // indirect
81+
golang.org/x/time v0.8.0 // indirect
8482
google.golang.org/genproto/googleapis/api v0.0.0-20240401170217-c3f982113cda // indirect
8583
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
8684
google.golang.org/grpc v1.63.0 // indirect
87-
google.golang.org/protobuf v1.34.2 // indirect
85+
google.golang.org/protobuf v1.36.5 // indirect
8886
gopkg.in/ini.v1 v1.67.0 // indirect
8987
gopkg.in/yaml.v3 v3.0.1 // indirect
9088
)

0 commit comments

Comments
 (0)