Skip to content

Commit

Permalink
Change namespace to swaggo/buffalo-swagger in the example project
Browse files Browse the repository at this point in the history
  • Loading branch information
cippaciong committed Dec 6, 2018
1 parent c3a9eca commit 62fe7bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions example/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# https://docs.docker.com/engine/userguide/eng-image/multistage-build/
FROM gobuffalo/buffalo:development as builder

RUN mkdir -p $GOPATH/src/github.com/cippaciong/mw-swaggo/example
WORKDIR $GOPATH/src/github.com/cippaciong/mw-swaggo/example
RUN mkdir -p $GOPATH/src/github.com/swaggo/buffalo-swagger/example
WORKDIR $GOPATH/src/github.com/swaggo/buffalo-swagger/example

ADD . .
RUN go get $(go list ./... | grep -v /vendor/)
Expand Down
6 changes: 3 additions & 3 deletions example/actions/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
paramlogger "github.com/gobuffalo/mw-paramlogger"
"github.com/unrolled/secure"

buffaloSwagger "github.com/cippaciong/mw-swaggo"
contenttype "github.com/gobuffalo/mw-contenttype"
"github.com/gobuffalo/x/sessions"
"github.com/rs/cors"
buffaloSwagger "github.com/swaggo/buffalo-swagger"

"github.com/cippaciong/mw-swaggo/swaggerFiles"
"github.com/swaggo/buffalo-swagger/swaggerFiles"

_ "github.com/cippaciong/mw-swaggo/example/docs"
_ "github.com/swaggo/buffalo-swagger/example/docs"
)

// ENV is used to help switch settings based on where the
Expand Down
2 changes: 1 addition & 1 deletion example/grifts/init.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package grifts

import (
"github.com/cippaciong/mw-swaggo/example/actions"
"github.com/gobuffalo/buffalo"
"github.com/swaggo/buffalo-swagger/example/actions"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"github.com/cippaciong/mw-swaggo/example/actions"
"github.com/swaggo/buffalo-swagger/example/actions"
)

// main is the starting point for your Buffalo application.
Expand Down

0 comments on commit 62fe7bc

Please sign in to comment.