File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ fallback value.
1717
1818``` go
1919import (
20- " github.com/gowebly/helpers"
20+ gowebly " github.com/gowebly/helpers"
2121)
2222
2323// Get a value of the environment variable 'BACKEND_PORT'
@@ -35,8 +35,8 @@ Helper to parse list of the given templates to the HTTP handler.
3535``` go
3636import (
3737 " log/slog"
38-
39- " github.com/gowebly/helpers"
38+
39+ gowebly " github.com/gowebly/helpers"
4040)
4141
4242func handler (w http .ResponseWriter , r *http .Request ) {
@@ -69,10 +69,10 @@ Helpers to create a custom handler for serve embed `./static` folder.
6969
7070``` go
7171import (
72- " embed"
73- " net/http"
72+ " embed"
73+ " net/http"
7474
75- " github.com/gowebly/helpers"
75+ gowebly " github.com/gowebly/helpers"
7676)
7777
7878// go:embed static/*
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212// Example:
1313//
1414// import (
15- // "github.com/gowebly/helpers"
15+ // gowebly "github.com/gowebly/helpers"
1616// )
1717//
1818// // Get a value of the environment variable 'BACKEND_PORT' or sets it to a fallback value '5000'.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
1717// import (
1818// "log/slog"
1919//
20- // "github.com/gowebly/helpers"
20+ // gowebly "github.com/gowebly/helpers"
2121// )
2222//
2323// func handler(w http.ResponseWriter, r *http.Request) {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
1313// "embed"
1414// "net/http"
1515//
16- // "github.com/gowebly/helpers"
16+ // gowebly "github.com/gowebly/helpers"
1717// )
1818//
1919// //go:embed static/*
You can’t perform that action at this time.
0 commit comments