Merge pull request #2 from elvinchan/1

#1 Move this repo from elvinchan to pangpanglabs
This commit is contained in:
陈文强 2018-09-07 10:42:32 +08:00 committed by GitHub
commit 77a470bb41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 18 deletions

View File

@ -3,9 +3,9 @@ English | [简体中文](./README_zh-CN.md)
# Echoswagger # Echoswagger
Swagger UI generator for Echo framework 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) [![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/elvinchan/echoswagger.svg?branch=master)](https://travis-ci.org/elvinchan/echoswagger) [![Build Status](https://travis-ci.org/pangpanglabs/echoswagger.svg?branch=master)](https://travis-ci.org/pangpanglabs/echoswagger)
[![codecov](https://codecov.io/gh/elvinchan/echoswagger/branch/master/graph/badge.svg)](https://codecov.io/gh/elvinchan/echoswagger) [![codecov](https://codecov.io/gh/pangpanglabs/echoswagger/branch/master/graph/badge.svg)](https://codecov.io/gh/pangpanglabs/echoswagger)
## Feature ## Feature
- No SwaggerUI HTML/CSS dependency - No SwaggerUI HTML/CSS dependency
@ -15,7 +15,7 @@ Swagger UI generator for Echo framework
## Installation ## Installation
``` ```
go get github.com/elvinchan/echoswagger go get github.com/pangpanglabs/echoswagger
``` ```
## Example ## Example
@ -25,8 +25,8 @@ package main
import ( import (
"net/http" "net/http"
"github.com/elvinchan/echoswagger"
"github.com/labstack/echo" "github.com/labstack/echo"
"github.com/pangpanglabs/echoswagger"
) )
func main() { func main() {
@ -226,4 +226,4 @@ default | * | Default value, which type is same as the field's type.
## License ## 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 # Echoswagger
[Echo](https://github.com/labstack/echo) 框架的 [Swagger UI](https://github.com/swagger-api/swagger-ui) 生成器 [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) [![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/elvinchan/echoswagger.svg?branch=master)](https://travis-ci.org/elvinchan/echoswagger) [![Build Status](https://travis-ci.org/pangpanglabs/echoswagger.svg?branch=master)](https://travis-ci.org/pangpanglabs/echoswagger)
[![codecov](https://codecov.io/gh/elvinchan/echoswagger/branch/master/graph/badge.svg)](https://codecov.io/gh/elvinchan/echoswagger) [![codecov](https://codecov.io/gh/pangpanglabs/echoswagger/branch/master/graph/badge.svg)](https://codecov.io/gh/pangpanglabs/echoswagger)
## 特性 ## 特性
- 不依赖任何SwaggerUI的HTML/CSS文件 - 不依赖任何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 ( import (
"net/http" "net/http"
"github.com/elvinchan/echoswagger" "github.com/pangpanglabs/echoswagger"
"github.com/labstack/echo" "github.com/labstack/echo"
) )
@ -226,4 +226,4 @@ default | * | 默认值,该类型与字段的类型相同。
## License ## 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 ( import (
"net/http" "net/http"
"github.com/elvinchan/echoswagger"
"github.com/labstack/echo" "github.com/labstack/echo"
"github.com/pangpanglabs/echoswagger"
) )
type PetController struct{} type PetController struct{}

View File

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

View File

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

View File

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

View File

@ -6,8 +6,8 @@ import (
"net/http/httptest" "net/http/httptest"
"testing" "testing"
"github.com/elvinchan/echoswagger"
"github.com/labstack/echo" "github.com/labstack/echo"
"github.com/pangpanglabs/echoswagger"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )

View File

@ -52,7 +52,7 @@ func TestNew(t *testing.T) {
info: &Info{ info: &Info{
Title: "Test project", Title: "Test project",
Contact: &Contact{ Contact: &Contact{
URL: "https://github.com/elvinchan/echoswagger", URL: "https://github.com/pangpanglabs/echoswagger",
}, },
}, },
expectPaths: []string{"/doc", "/doc/swagger.json"}, expectPaths: []string{"/doc", "/doc/swagger.json"},