Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
move package in pkg/module to pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
imantung committed Oct 29, 2019
1 parent d1db4f9 commit 78b5c32
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions EXPERIMENTAL/typictx/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import (
"go.uber.org/dig"
)

// Runner responsible to run the application
type Runner interface {
Run(c *dig.Container) error
}

// Constructor responsible to construct dependency
type Constructor interface {
Construct(c *dig.Container) error
Expand Down
6 changes: 3 additions & 3 deletions cmd/internal/dependency/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ package dependency
import (
"github.com/kelseyhightower/envconfig"
"github.com/typical-go/typical-rest-server/app/config"
"github.com/typical-go/typical-rest-server/pkg/module/typpostgres"
"github.com/typical-go/typical-rest-server/pkg/module/typredis"
"github.com/typical-go/typical-rest-server/pkg/module/typserver"
"github.com/typical-go/typical-rest-server/pkg/typpostgres"
"github.com/typical-go/typical-rest-server/pkg/typredis"
"github.com/typical-go/typical-rest-server/pkg/typserver"
"github.com/typical-go/typical-rest-server/typical"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions typical/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"github.com/typical-go/typical-rest-server/EXPERIMENTAL/typictx"
"github.com/typical-go/typical-rest-server/app"
"github.com/typical-go/typical-rest-server/app/config"
"github.com/typical-go/typical-rest-server/pkg/module/typpostgres"
"github.com/typical-go/typical-rest-server/pkg/module/typredis"
"github.com/typical-go/typical-rest-server/pkg/module/typserver"
"github.com/typical-go/typical-rest-server/pkg/typpostgres"
"github.com/typical-go/typical-rest-server/pkg/typredis"
"github.com/typical-go/typical-rest-server/pkg/typserver"

"github.com/urfave/cli"
)

Expand Down

0 comments on commit 78b5c32

Please sign in to comment.