#1 Move this repo from elvinchan to pangpanglabs

master
ElvinChan 2018-09-07 10:34:02 +08:00
parent ea529240c3
commit 91f719c84e
8 changed files with 18 additions and 18 deletions

View File

@ -3,9 +3,9 @@ English | [简体中文](./README_zh-CN.md)
# Echoswagger
Swagger UI generator for Echo framework
[![Go Report Card](https://goreportcard.com/badge/github.com/elvinchan/echoswagger)](https://goreportcard.com/report/github.com/elvinchan/echoswagger)
[![Build Status](https://travis-ci.org/elvinchan/echoswagger.svg?branch=master)](https://travis-ci.org/elvinchan/echoswagger)
[![codecov](https://codecov.io/gh/elvinchan/echoswagger/branch/master/graph/badge.svg)](https://codecov.io/gh/elvinchan/echoswagger)
[![Go Report Card](https://goreportcard.com/badge/github.com/pangpanglabs/echoswagger)](https://goreportcard.com/report/github.com/pangpanglabs/echoswagger)
[![Build Status](https://travis-ci.org/pangpanglabs/echoswagger.svg?branch=master)](https://travis-ci.org/pangpanglabs/echoswagger)
[![codecov](https://codecov.io/gh/pangpanglabs/echoswagger/branch/master/graph/badge.svg)](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)

View File

@ -3,9 +3,9 @@
# Echoswagger
[Echo](https://github.com/labstack/echo) 框架的 [Swagger UI](https://github.com/swagger-api/swagger-ui) 生成器
[![Go Report Card](https://goreportcard.com/badge/github.com/elvinchan/echoswagger)](https://goreportcard.com/report/github.com/elvinchan/echoswagger)
[![Build Status](https://travis-ci.org/elvinchan/echoswagger.svg?branch=master)](https://travis-ci.org/elvinchan/echoswagger)
[![codecov](https://codecov.io/gh/elvinchan/echoswagger/branch/master/graph/badge.svg)](https://codecov.io/gh/elvinchan/echoswagger)
[![Go Report Card](https://goreportcard.com/badge/github.com/pangpanglabs/echoswagger)](https://goreportcard.com/report/github.com/pangpanglabs/echoswagger)
[![Build Status](https://travis-ci.org/pangpanglabs/echoswagger.svg?branch=master)](https://travis-ci.org/pangpanglabs/echoswagger)
[![codecov](https://codecov.io/gh/pangpanglabs/echoswagger/branch/master/graph/badge.svg)](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)

View File

@ -3,8 +3,8 @@ package main
import (
"net/http"
"github.com/elvinchan/echoswagger"
"github.com/labstack/echo"
"github.com/pangpanglabs/echoswagger"
)
type PetController struct{}

View File

@ -4,8 +4,8 @@ import (
"net/http"
"time"
"github.com/elvinchan/echoswagger"
"github.com/labstack/echo"
"github.com/pangpanglabs/echoswagger"
)
type StoreController struct{}

View File

@ -5,8 +5,8 @@ import (
"net/http"
"time"
"github.com/elvinchan/echoswagger"
"github.com/labstack/echo"
"github.com/pangpanglabs/echoswagger"
)
type UserController struct{}

View File

@ -1,8 +1,8 @@
package main
import (
"github.com/elvinchan/echoswagger"
"github.com/labstack/echo"
"github.com/pangpanglabs/echoswagger"
)
func main() {

View File

@ -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"
)

View File

@ -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"},