From 39f5b3dbbffb2e6f95398f944793c848f2bd91b2 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 25 Aug 2022 09:31:53 +0200 Subject: [PATCH] Migration: From github.com to git.webz.asia --- README.md | 10 +++++----- examples/controller_pet.go | 2 +- examples/controller_store.go | 2 +- examples/controller_user.go | 2 +- examples/main.go | 2 +- examples/main_test.go | 2 +- go.mod | 2 +- wrapper_test.go | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 06b407e..7adf954 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ English version # Echoswagger Swagger UI generator for Echo framework, v4 -[![Go Report Card](https://goreportcard.com/badge/github.com/echo-go/echoswagger)](https://goreportcard.com/report/github.com/echo-go/echoswagger) +[![Go Report Card](https://goreportcard.com/badge/git.webz.asia/echo-go/echoswagger)](https://goreportcard.com/report/git.webz.asia/echo-go/echoswagger) [![Build Status](https://travis-ci.org/echo-go/echoswagger.svg?branch=master)](https://travis-ci.org/echo-go/echoswagger) [![codecov](https://codecov.io/gh/echo-go/echoswagger/branch/master/graph/badge.svg)](https://codecov.io/gh/echo-go/echoswagger) @@ -13,7 +13,7 @@ This is fork of [pangpanglabs/echoswagger](https://github.com/pangpanglabs/echos With several differences: * Switched to [Echo framework, v4](https://github.com/labstack/echo/tree/v4.1.11) * Modular dependencies support -* Switched to [Apache 2.0](https://github.com/echo-go/echoswagger/blob/master/LICENSE) license +* Switched to [Apache 2.0](https://git.webz.asia/echo-go/echoswagger/blob/master/LICENSE) license * Builder docker script for example code ## Feature @@ -24,7 +24,7 @@ With several differences: ## Installation ``` -go get github.com/echo-go/echoswagger +go get git.webz.asia/echo-go/echoswagger ``` ## Example @@ -37,7 +37,7 @@ import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" - "github.com/echo-go/echoswagger" + "git.webz.asia/echo-go/echoswagger" ) func main() { @@ -242,4 +242,4 @@ default | * | Default value, which type is same as the field's type. ## License -[Apache 2.0](https://github.com/echo-go/echoswagger/blob/master/LICENSE) +[Apache 2.0](https://git.webz.asia/echo-go/echoswagger/blob/master/LICENSE) diff --git a/examples/controller_pet.go b/examples/controller_pet.go index 26d3e4d..93e8ab8 100644 --- a/examples/controller_pet.go +++ b/examples/controller_pet.go @@ -26,7 +26,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/echo-go/echoswagger" + "git.webz.asia/echo-go/echoswagger" ) type PetController struct{} diff --git a/examples/controller_store.go b/examples/controller_store.go index 05824eb..caf539d 100644 --- a/examples/controller_store.go +++ b/examples/controller_store.go @@ -27,7 +27,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/echo-go/echoswagger" + "git.webz.asia/echo-go/echoswagger" ) type StoreController struct{} diff --git a/examples/controller_user.go b/examples/controller_user.go index 13ad157..12c0928 100644 --- a/examples/controller_user.go +++ b/examples/controller_user.go @@ -28,7 +28,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/echo-go/echoswagger" + "git.webz.asia/echo-go/echoswagger" ) type UserController struct{} diff --git a/examples/main.go b/examples/main.go index 033271b..9af435d 100644 --- a/examples/main.go +++ b/examples/main.go @@ -25,7 +25,7 @@ import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" - "github.com/echo-go/echoswagger" + "git.webz.asia/echo-go/echoswagger" ) func main() { diff --git a/examples/main_test.go b/examples/main_test.go index bb0d0e2..f3cddf2 100644 --- a/examples/main_test.go +++ b/examples/main_test.go @@ -30,7 +30,7 @@ import ( "github.com/labstack/echo/v4" "github.com/stretchr/testify/assert" - "github.com/echo-go/echoswagger" + "git.webz.asia/echo-go/echoswagger" ) func TestMain(t *testing.T) { diff --git a/go.mod b/go.mod index 3feffb9..2079d1b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/echo-go/echoswagger/v2 +module git.webz.asia/echo-go/echoswagger/v2 require ( github.com/labstack/echo v3.3.10+incompatible // indirect diff --git a/wrapper_test.go b/wrapper_test.go index 05bfc12..e24f895 100644 --- a/wrapper_test.go +++ b/wrapper_test.go @@ -72,7 +72,7 @@ func TestNew(t *testing.T) { info: &Info{ Title: "Test project", Contact: &Contact{ - URL: "https://github.com/echo-go/echoswagger", + URL: "https://git.webz.asia/echo-go/echoswagger", }, }, expectPaths: []string{"/doc", "/doc/swagger.json"},