mirror of
https://github.com/TECHNOFAB11/powerproto.git
synced 2025-12-12 16:10:03 +01:00
chore: rename package to be able to go install
This commit is contained in:
parent
538ff9c6f6
commit
507039ecc0
31 changed files with 104 additions and 99 deletions
|
|
@ -21,12 +21,12 @@ import (
|
|||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/storyicon/powerproto/pkg/component/pluginmanager"
|
||||
"github.com/storyicon/powerproto/pkg/configs"
|
||||
"github.com/storyicon/powerproto/pkg/consts"
|
||||
"github.com/storyicon/powerproto/pkg/util"
|
||||
"github.com/storyicon/powerproto/pkg/util/command"
|
||||
"github.com/storyicon/powerproto/pkg/util/logger"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/component/pluginmanager"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/configs"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/consts"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/util"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/util/command"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/util/logger"
|
||||
)
|
||||
|
||||
// Compiler is used to compile proto file
|
||||
|
|
@ -99,7 +99,7 @@ func (b *BasicCompiler) GetConfig(ctx context.Context) configs.ConfigItem {
|
|||
}
|
||||
|
||||
func (b *BasicCompiler) calcProtocPath(ctx context.Context) (string, error) {
|
||||
return b.pluginManager.GetPathForProtoc(ctx, b.config.Config().Protoc)
|
||||
return b.pluginManager.GetPathForProtoc(ctx, b.config.Config().Protoc)
|
||||
}
|
||||
|
||||
func (b *BasicCompiler) calcDir() string {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
package compilermanager
|
||||
|
||||
import (
|
||||
"github.com/storyicon/powerproto/pkg/util/command"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/util/command"
|
||||
)
|
||||
|
||||
// ErrCompile defines the compile error
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ import (
|
|||
"context"
|
||||
"sync"
|
||||
|
||||
"github.com/storyicon/powerproto/pkg/component/configmanager"
|
||||
"github.com/storyicon/powerproto/pkg/component/pluginmanager"
|
||||
"github.com/storyicon/powerproto/pkg/util/logger"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/component/configmanager"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/component/pluginmanager"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/util/logger"
|
||||
)
|
||||
|
||||
// CompilerManager is to manage compiler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue