Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsannm committed Jun 30, 2024
1 parent 2836b2b commit 39fc13d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 31 deletions.
8 changes: 4 additions & 4 deletions contrib/go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/clubpay/ronykit/kit v0.16.0 h1:89nrRSXVc0FaLNcHzShRZqtaRrk7hFjE5TVgkOZUkWk=
github.com/clubpay/ronykit/kit v0.16.0/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.0 h1:+hw9yPt/b2vgnAE1UaXKrvHdT23Gd0xm7rtIMJNK3Bg=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.0/go.mod h1:BdeIyy2GIYbNlz8QUr/z17+rNwMAXtxJop6AR0QZhvY=
github.com/clubpay/ronykit/kit v0.16.2 h1:/mZgfpKcRoZIaKmi7G4vRxazFcqeqkIjtHO0OheE5qA=
github.com/clubpay/ronykit/kit v0.16.2/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.2 h1:9vpRmFfQzku2ZEms2hLtXZvvJGYji24wa6YyL6Vu+q0=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.2/go.mod h1:UkaCpMTC1rLtqUrzjiinCk3/eGQFl6fTlmQ2SspN7iw=
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
12 changes: 6 additions & 6 deletions rony/go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/clubpay/ronykit/contrib v0.16.0 h1:p/l9Et3qAX8UzJz3vFBOuVyCCmNQ6v9ykzEYpOzjQXs=
github.com/clubpay/ronykit/contrib v0.16.0/go.mod h1:83nIpriVSQdcGGNS+o8pH9tmPUj3CkBXueRTRcjqCw0=
github.com/clubpay/ronykit/kit v0.16.0 h1:89nrRSXVc0FaLNcHzShRZqtaRrk7hFjE5TVgkOZUkWk=
github.com/clubpay/ronykit/kit v0.16.0/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.0 h1:+hw9yPt/b2vgnAE1UaXKrvHdT23Gd0xm7rtIMJNK3Bg=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.0/go.mod h1:BdeIyy2GIYbNlz8QUr/z17+rNwMAXtxJop6AR0QZhvY=
github.com/clubpay/ronykit/contrib v0.16.2 h1:fxIIwenYMPIxEkW6w4dEN/6Op3pQhHH2aOIZqzhirS0=
github.com/clubpay/ronykit/contrib v0.16.2/go.mod h1:QJmwVTRZdVh5Z951jPrhLJoLLHKrd5PTZ4vTTvatWQ8=
github.com/clubpay/ronykit/kit v0.16.2 h1:/mZgfpKcRoZIaKmi7G4vRxazFcqeqkIjtHO0OheE5qA=
github.com/clubpay/ronykit/kit v0.16.2/go.mod h1:JmRsAjBYhNsrU7iaQM9oVw5OSIQpMET+VDKx1suUPbk=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.2 h1:9vpRmFfQzku2ZEms2hLtXZvvJGYji24wa6YyL6Vu+q0=
github.com/clubpay/ronykit/std/gateways/fasthttp v0.16.2/go.mod h1:UkaCpMTC1rLtqUrzjiinCk3/eGQFl6fTlmQ2SspN7iw=
github.com/clubpay/ronykit/stub v0.16.0 h1:elxm5/GmWevgZy77wSc61NcmlEeTiFEI1xaIQmRBnhE=
github.com/clubpay/ronykit/stub v0.16.0/go.mod h1:XS9NvlW26riWRYs1z2H8yVahQq4TtolQoZmeWP+Z9nc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
12 changes: 0 additions & 12 deletions ronyup/internal/skeleton/rony/cmd/gen-stub/main.go.gotmpl

This file was deleted.

9 changes: 0 additions & 9 deletions ronyup/internal/skeleton/rony/service/setup.go.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package service

import (
"github.com/clubpay/ronykit/rony"
"github.com/clubpay/ronykit/stub/stubgen"
"{{ .ModulePath }}/service/endpoint"
"{{ .ModulePath }}/service/state"
)
Expand All @@ -29,11 +28,3 @@ func Setup() rony.SetupOption[*state.Counter, state.Action] {
)
}

//go:generate go run {{.ModulePath}}/cmd/gen-stub/main.go
func GenerateStub() error {
return rony.GenerateStub(
"CounterStub", "counter", ".", "counterc",
stubgen.GolangStub, ".go",
Setup(),
)
}

0 comments on commit 39fc13d

Please sign in to comment.