mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
@@ -7,10 +7,10 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"go-micro.dev/v4/cmd"
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/imdario/mergo"
|
||||
"github.com/urfave/cli/v2"
|
||||
"go-micro.dev/v4/cmd"
|
||||
"go-micro.dev/v4/config/source"
|
||||
)
|
||||
|
||||
type cliSource struct {
|
||||
|
||||
@@ -5,11 +5,11 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/urfave/cli/v2"
|
||||
"go-micro.dev/v4"
|
||||
"go-micro.dev/v4/cmd"
|
||||
"go-micro.dev/v4/config"
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
func TestCliSourceDefault(t *testing.T) {
|
||||
|
||||
@@ -3,8 +3,8 @@ package cli
|
||||
import (
|
||||
"context"
|
||||
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/urfave/cli/v2"
|
||||
"go-micro.dev/v4/config/source"
|
||||
)
|
||||
|
||||
type contextKey struct{}
|
||||
|
||||
2
config/source/env/env.go
vendored
2
config/source/env/env.go
vendored
@@ -6,8 +6,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/imdario/mergo"
|
||||
"go-micro.dev/v4/config/source"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
//+build !linux
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package file
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/fsnotify/fsnotify"
|
||||
"go-micro.dev/v4/config/source"
|
||||
)
|
||||
|
||||
type watcher struct {
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
//+build linux
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package file
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/fsnotify/fsnotify"
|
||||
"go-micro.dev/v4/config/source"
|
||||
)
|
||||
|
||||
type watcher struct {
|
||||
|
||||
@@ -3,8 +3,8 @@ package flag
|
||||
import (
|
||||
"errors"
|
||||
"flag"
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/imdario/mergo"
|
||||
"go-micro.dev/v4/config/source"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"go-micro.dev/v4/config/source"
|
||||
"github.com/google/uuid"
|
||||
"go-micro.dev/v4/config/source"
|
||||
)
|
||||
|
||||
type memory struct {
|
||||
|
||||
Reference in New Issue
Block a user