Skip to content

Commit

Permalink
Keep original import module
Browse files Browse the repository at this point in the history
  • Loading branch information
jodlajodla committed Jul 8, 2020
1 parent b511b6b commit 04f372b
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion example/basic/api/api.go
Expand Up @@ -2,7 +2,7 @@ package api

import (
"github.com/gin-gonic/gin"
"github.com/jodlajodla/swag/example/basic/web"
"github.com/swaggo/swag/example/basic/web"
)

// GetStringByInt example
Expand Down
2 changes: 1 addition & 1 deletion example/basic/docs/docs.go
Expand Up @@ -10,7 +10,7 @@ import (
"strings"

"github.com/alecthomas/template"
"github.com/jodlajodla/swag"
"github.com/swaggo/swag"
)

var doc = `{
Expand Down
2 changes: 1 addition & 1 deletion example/basic/main.go
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/gin-gonic/gin"
"github.com/jodlajodla/swag/example/basic/api"
"github.com/swaggo/swag/example/basic/api"
)

// @title Swagger Example API
Expand Down
4 changes: 2 additions & 2 deletions example/celler/controller/accounts.go
Expand Up @@ -6,8 +6,8 @@ import (
"strconv"

"github.com/gin-gonic/gin"
"github.com/jodlajodla/swag/example/celler/httputil"
"github.com/jodlajodla/swag/example/celler/model"
"github.com/swaggo/swag/example/celler/httputil"
"github.com/swaggo/swag/example/celler/model"
)

// ShowAccount godoc
Expand Down
4 changes: 2 additions & 2 deletions example/celler/controller/admin.go
Expand Up @@ -6,8 +6,8 @@ import (
"net/http"

"github.com/gin-gonic/gin"
"github.com/jodlajodla/swag/example/celler/httputil"
"github.com/jodlajodla/swag/example/celler/model"
"github.com/swaggo/swag/example/celler/httputil"
"github.com/swaggo/swag/example/celler/model"
)

// Auth godoc
Expand Down
4 changes: 2 additions & 2 deletions example/celler/controller/bottles.go
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"

"github.com/gin-gonic/gin"
"github.com/jodlajodla/swag/example/celler/httputil"
"github.com/jodlajodla/swag/example/celler/model"
"github.com/swaggo/swag/example/celler/httputil"
"github.com/swaggo/swag/example/celler/model"
)

// ShowBottle godoc
Expand Down
2 changes: 1 addition & 1 deletion example/celler/controller/examples.go
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"

"github.com/gin-gonic/gin"
"github.com/jodlajodla/swag/example/celler/httputil"
"github.com/swaggo/swag/example/celler/httputil"
)

// PingExample godoc
Expand Down
2 changes: 1 addition & 1 deletion example/celler/docs/docs.go
Expand Up @@ -9,7 +9,7 @@ import (
"encoding/json"

"github.com/alecthomas/template"
"github.com/jodlajodla/swag"
"github.com/swaggo/swag"
)

var doc = `{
Expand Down
6 changes: 3 additions & 3 deletions example/celler/main.go
Expand Up @@ -5,9 +5,9 @@ import (
"net/http"

"github.com/gin-gonic/gin"
"github.com/jodlajodla/swag/example/celler/controller"
_ "github.com/jodlajodla/swag/example/celler/docs"
"github.com/jodlajodla/swag/example/celler/httputil"
"github.com/swaggo/swag/example/celler/controller"
_ "github.com/swaggo/swag/example/celler/docs"
"github.com/swaggo/swag/example/celler/httputil"

swaggerFiles "github.com/swaggo/files"
ginSwagger "github.com/swaggo/gin-swagger"
Expand Down
2 changes: 1 addition & 1 deletion example/markdown/docs/docs.go
Expand Up @@ -10,7 +10,7 @@ import (
"strings"

"github.com/alecthomas/template"
"github.com/jodlajodla/swag"
"github.com/swaggo/swag"
)

var doc = `{
Expand Down
7 changes: 4 additions & 3 deletions example/markdown/main.go
@@ -1,11 +1,12 @@
package main

import (
"net/http"

"github.com/gorilla/mux"
"github.com/jodlajodla/swag/example/markdown/api"
_ "github.com/jodlajodla/swag/example/markdown/docs"
httpSwagger "github.com/swaggo/http-swagger"
"net/http"
"github.com/swaggo/swag/example/markdown/api"
_ "github.com/swaggo/swag/example/markdown/docs"
)

// @title Swagger Example API
Expand Down
2 changes: 1 addition & 1 deletion gen/gen.go
Expand Up @@ -284,7 +284,7 @@ import (
"strings"
"github.com/alecthomas/template"
"github.com/jodlajodla/swag"
"github.com/swaggo/swag"
)
var doc = ` + "`{{ printDoc .Doc}}`" + `
Expand Down

0 comments on commit 04f372b

Please sign in to comment.