#1 Move this repo from elvinchan to pangpanglabs
This commit is contained in:
parent
ea529240c3
commit
91f719c84e
12
README.md
12
README.md
@ -3,9 +3,9 @@ English | [简体中文](./README_zh-CN.md)
|
||||
# Echoswagger
|
||||
Swagger UI generator for Echo framework
|
||||
|
||||
[](https://goreportcard.com/report/github.com/elvinchan/echoswagger)
|
||||
[](https://travis-ci.org/elvinchan/echoswagger)
|
||||
[](https://codecov.io/gh/elvinchan/echoswagger)
|
||||
[](https://goreportcard.com/report/github.com/pangpanglabs/echoswagger)
|
||||
[](https://travis-ci.org/pangpanglabs/echoswagger)
|
||||
[](https://codecov.io/gh/pangpanglabs/echoswagger)
|
||||
|
||||
## Feature
|
||||
- No SwaggerUI HTML/CSS dependency
|
||||
@ -15,7 +15,7 @@ Swagger UI generator for Echo framework
|
||||
|
||||
## Installation
|
||||
```
|
||||
go get github.com/elvinchan/echoswagger
|
||||
go get github.com/pangpanglabs/echoswagger
|
||||
```
|
||||
|
||||
## Example
|
||||
@ -25,8 +25,8 @@ package main
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/elvinchan/echoswagger"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/pangpanglabs/echoswagger"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@ -226,4 +226,4 @@ default | * | Default value, which type is same as the field's type.
|
||||
|
||||
## License
|
||||
|
||||
[MIT](https://github.com/elvinchan/echoswagger/blob/master/LICENSE)
|
||||
[MIT](https://github.com/pangpanglabs/echoswagger/blob/master/LICENSE)
|
||||
|
@ -3,9 +3,9 @@
|
||||
# Echoswagger
|
||||
[Echo](https://github.com/labstack/echo) 框架的 [Swagger UI](https://github.com/swagger-api/swagger-ui) 生成器
|
||||
|
||||
[](https://goreportcard.com/report/github.com/elvinchan/echoswagger)
|
||||
[](https://travis-ci.org/elvinchan/echoswagger)
|
||||
[](https://codecov.io/gh/elvinchan/echoswagger)
|
||||
[](https://goreportcard.com/report/github.com/pangpanglabs/echoswagger)
|
||||
[](https://travis-ci.org/pangpanglabs/echoswagger)
|
||||
[](https://codecov.io/gh/pangpanglabs/echoswagger)
|
||||
|
||||
## 特性
|
||||
- 不依赖任何SwaggerUI的HTML/CSS文件
|
||||
@ -15,7 +15,7 @@
|
||||
|
||||
## 安装
|
||||
```
|
||||
go get github.com/elvinchan/echoswagger
|
||||
go get github.com/pangpanglabs/echoswagger
|
||||
```
|
||||
|
||||
## 示例
|
||||
@ -25,7 +25,7 @@ package main
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/elvinchan/echoswagger"
|
||||
"github.com/pangpanglabs/echoswagger"
|
||||
"github.com/labstack/echo"
|
||||
)
|
||||
|
||||
@ -226,4 +226,4 @@ default | * | 默认值,该类型与字段的类型相同。
|
||||
|
||||
## License
|
||||
|
||||
[MIT](https://github.com/elvinchan/echoswagger/blob/master/LICENSE)
|
||||
[MIT](https://github.com/pangpanglabs/echoswagger/blob/master/LICENSE)
|
||||
|
@ -3,8 +3,8 @@ package main
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/elvinchan/echoswagger"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/pangpanglabs/echoswagger"
|
||||
)
|
||||
|
||||
type PetController struct{}
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/elvinchan/echoswagger"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/pangpanglabs/echoswagger"
|
||||
)
|
||||
|
||||
type StoreController struct{}
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/elvinchan/echoswagger"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/pangpanglabs/echoswagger"
|
||||
)
|
||||
|
||||
type UserController struct{}
|
||||
|
@ -1,8 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/elvinchan/echoswagger"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/pangpanglabs/echoswagger"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/elvinchan/echoswagger"
|
||||
"github.com/labstack/echo"
|
||||
"github.com/pangpanglabs/echoswagger"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@ -52,7 +52,7 @@ func TestNew(t *testing.T) {
|
||||
info: &Info{
|
||||
Title: "Test project",
|
||||
Contact: &Contact{
|
||||
URL: "https://github.com/elvinchan/echoswagger",
|
||||
URL: "https://github.com/pangpanglabs/echoswagger",
|
||||
},
|
||||
},
|
||||
expectPaths: []string{"/doc", "/doc/swagger.json"},
|
||||
|
Loading…
Reference in New Issue
Block a user