good morning!!!!
Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
fix: makeroute
· 923a2f3c
a
authored
Feb 23, 2024
923a2f3c
Hide whitespace changes
Inline
Side-by-side
fxchi/fxchi.go
View file @
923a2f3c
...
...
@@ -32,9 +32,13 @@ type RouteResults struct {
func
NewRoute
(
fn
func
(
r
chi
.
Router
))
func
()
RouteResults
{
return
func
()
RouteResults
{
return
RouteResults
{
Route
:
fn
,
}
return
MakeRoute
(
fn
)
}
}
func
MakeRoute
(
fn
func
(
r
chi
.
Router
))
RouteResults
{
return
RouteResults
{
Route
:
fn
,
}
}
...
...