Skip to content

Commit

Permalink
fix doc about versioning of web-ui modules
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Jan 15, 2024
1 parent 27465c8 commit 62202e0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/docs/troubleshooting/web-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ sidebar_position: 4
## Without framework

```bash
go get github.com/samber/do/v2/http/std"
go get github.com/samber/do/http/std/v2"
```
```go
import "github.com/samber/do/v2/http/std"
import "github.com/samber/do/http/std/v2"
injector := startProgram()
Expand All @@ -26,11 +26,11 @@ http.ListenAndServe(":8080", mux)
## Gin
```bash
go get github.com/samber/do/v2/http/gin"
go get github.com/samber/do/http/gin/v2"
```

```go
import "github.com/samber/do/v2/http/gin"
import "github.com/samber/do/http/gin/v2"

injector := startProgram()

Expand All @@ -43,11 +43,11 @@ router.Run(":8080")
## Fiber

```bash
go get github.com/samber/do/v2/http/fiber"
go get github.com/samber/do/http/fiber/v2"
```
```go
import "github.com/samber/do/v2/http/fiber"
import "github.com/samber/do/http/fiber/v2"
injector := startProgram()
Expand All @@ -60,11 +60,11 @@ router.Listen(":8080")
## Echo
```bash
go get github.com/samber/do/v2/http/echo"
go get github.com/samber/do/http/echo/v2"
```

```go
import "github.com/samber/do/v2/http/echo"
import "github.com/samber/do/http/echo/v2"

injector := startProgram()

Expand All @@ -77,11 +77,11 @@ router.Start(":8080")
## Chi

```bash
go get github.com/samber/do/v2/http/chi"
go get github.com/samber/do/http/chi/v2"
```
```go
import "github.com/samber/do/v2/http/chi"
import "github.com/samber/do/http/chi/v2"
injector := startProgram()
Expand Down

0 comments on commit 62202e0

Please sign in to comment.