Updated dependencies

This commit is contained in:
Eduard Urbach 2024-03-14 12:55:01 +01:00
parent bdaac8ed7d
commit 0fe8514bf0
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
3 changed files with 6 additions and 6 deletions

View File

@ -9,11 +9,11 @@ import (
func BenchmarkAkyoto(b *testing.B) {
bench(
b,
func() *server.Server {
func() server.Server {
return server.New()
},
func(s *server.Server, method string, path string) {
s.Router.Add(method, path, func(ctx server.Context) error {
func(s server.Server, method string, path string) {
s.Router().Add(method, path, func(ctx server.Context) error {
return ctx.Bytes(payload)
})
},

View File

@ -4,7 +4,7 @@ go 1.22.1
require (
git.akyoto.dev/go/router v0.1.3
git.akyoto.dev/go/server v0.0.0-20240313191801-c13dbc55d263
git.akyoto.dev/go/server v0.0.0-20240313230620-594cad69db74
github.com/aerogo/aero v1.3.59
github.com/beego/beego/v2 v2.1.6
github.com/bmizerany/pat v0.0.0-20210406213842-e4b6760bdd6f

View File

@ -2,8 +2,8 @@ git.akyoto.dev/go/assert v0.1.3 h1:QwCUbmG4aZYsNk/OuRBz1zWVKmGlDUHhOnnDBfn8Qw8=
git.akyoto.dev/go/assert v0.1.3/go.mod h1:0GzMaM0eURuDwtGkJJkCsI7r2aUKr+5GmWNTFPgDocM=
git.akyoto.dev/go/router v0.1.3 h1:H4wJCYdDD3/i9miYSK/e5sCoGiXe9OX7KmgH4/Toa60=
git.akyoto.dev/go/router v0.1.3/go.mod h1:VfSsK/Z6fUhT3pWaAAnuAcj++bWRZD+bzNaqJoTAunU=
git.akyoto.dev/go/server v0.0.0-20240313191801-c13dbc55d263 h1:t5DctyOnTUPUMQsyHNZefIKYO4TjKq4wXt+2+e37PwY=
git.akyoto.dev/go/server v0.0.0-20240313191801-c13dbc55d263/go.mod h1:VVr9rDl+CPnQyXphXpOcpSovrjzPGsSk00PjUBHkx1c=
git.akyoto.dev/go/server v0.0.0-20240313230620-594cad69db74 h1:maCXHWOVHEC9A3FGZ6DSlWC5klNWaPA8GZqBAG1xKBk=
git.akyoto.dev/go/server v0.0.0-20240313230620-594cad69db74/go.mod h1:VVr9rDl+CPnQyXphXpOcpSovrjzPGsSk00PjUBHkx1c=
github.com/aerogo/aero v1.3.59 h1:5yu+kk/uIXAXADKSLCFKhxAzThCehvpbF6gst+G32Fw=
github.com/aerogo/aero v1.3.59/go.mod h1:ehwj+mb117xQRTvp11jlnrRNPgbcYL6s6aBk9wbIZ0o=
github.com/aerogo/csp v0.1.10 h1:2PJf9gkdRvCFYOA0baTUyp34vwPp5ZJJX8GZRCYc/nM=