Skip to content

Commit bb94d1d

Browse files
chore: transfer rookie-luochao/go-openapi-ui to openapi-ui/go-openapi-ui
1 parent f94c55e commit bb94d1d

File tree

11 files changed

+21
-21
lines changed

11 files changed

+21
-21
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 rookie-luochao
3+
Copyright (c) 2024 openapi-ui
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This package does not generate openapi spec file. Check [this example](https://g
99
## Usage
1010

1111
```go
12-
import "github.com/rookie-luochao/go-openapi-ui/pkg/doc"
12+
import "github.com/openapi-ui/go-openapi-ui/pkg/doc"
1313

1414
...
1515

@@ -28,7 +28,7 @@ doc := doc.Doc{
2828
```go
2929
import (
3030
"net/http"
31-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
31+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
3232
)
3333

3434
...
@@ -41,8 +41,8 @@ http.ListenAndServe(address, doc.Handler())
4141
```go
4242
import (
4343
"github.com/gin-gonic/gin"
44-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
45-
ginopenapiui "github.com/rookie-luochao/go-openapi-ui/pkg/middleware/gin"
44+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
45+
ginopenapiui "github.com/openapi-ui/go-openapi-ui/pkg/middleware/gin"
4646
)
4747

4848
...
@@ -56,8 +56,8 @@ r.Use(ginopenapiui.New(doc))
5656
```go
5757
import (
5858
"github.com/labstack/echo/v4"
59-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
60-
echoopenapiui "github.com/rookie-luochao/go-openapi-ui/pkg/middleware/echo"
59+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
60+
echoopenapiui "github.com/openapi-ui/go-openapi-ui/pkg/middleware/echo"
6161
)
6262

6363
...
@@ -71,8 +71,8 @@ r.Use(echoopenapiui.New(doc))
7171
```go
7272
import (
7373
"github.com/gofiber/fiber/v2"
74-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
75-
fiberopenapiui "github.com/rookie-luochao/go-openapi-ui/pkg/middleware/fiber"
74+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
75+
fiberopenapiui "github.com/openapi-ui/go-openapi-ui/pkg/middleware/fiber"
7676
)
7777

7878
...

_examples/echo/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"os"
66

77
"github.com/labstack/echo/v4"
8-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
9-
echoopenapiui "github.com/rookie-luochao/go-openapi-ui/pkg/middleware/echo"
8+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
9+
echoopenapiui "github.com/openapi-ui/go-openapi-ui/pkg/middleware/echo"
1010
)
1111

1212
func main() {

_examples/fiber/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package main
22

33
import (
44
"github.com/gofiber/fiber/v2"
5-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
6-
fiberopenapiui "github.com/rookie-luochao/go-openapi-ui/pkg/middleware/fiber"
5+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
6+
fiberopenapiui "github.com/openapi-ui/go-openapi-ui/pkg/middleware/fiber"
77
)
88

99
func main() {

_examples/gin/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package main
22

33
import (
44
"github.com/gin-gonic/gin"
5-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
6-
ginopenapiui "github.com/rookie-luochao/go-openapi-ui/pkg/middleware/gin"
5+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
6+
ginopenapiui "github.com/openapi-ui/go-openapi-ui/pkg/middleware/gin"
77
)
88

99
func main() {

_examples/gorilla/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net/http"
55

66
"github.com/gorilla/mux"
7-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
7+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
88
)
99

1010
func main() {

_examples/http/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"net/http"
55

6-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
6+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
77
)
88

99
func main() {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/rookie-luochao/go-openapi-ui
1+
module github.com/openapi-ui/go-openapi-ui
22

33
go 1.17
44

pkg/middleware/echo/echo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package echoopenapiui
22

33
import (
44
"github.com/labstack/echo/v4"
5-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
5+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
66
)
77

88
func New(doc doc.Doc) echo.MiddlewareFunc {

pkg/middleware/fiber/fiber.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package fiberopenapiui
33
import (
44
"github.com/gofiber/adaptor/v2"
55
"github.com/gofiber/fiber/v2"
6-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
6+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
77
)
88

99
func New(doc doc.Doc) fiber.Handler {

pkg/middleware/gin/gin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package ginopenapiui
22

33
import (
44
"github.com/gin-gonic/gin"
5-
"github.com/rookie-luochao/go-openapi-ui/pkg/doc"
5+
"github.com/openapi-ui/go-openapi-ui/pkg/doc"
66
)
77

88
func New(doc doc.Doc) gin.HandlerFunc {

0 commit comments

Comments
 (0)