Skip to content

Commit 7f1f9fc

Browse files
committed
rename module
1 parent e2b35fc commit 7f1f9fc

File tree

17 files changed

+28
-28
lines changed

17 files changed

+28
-28
lines changed

config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package auto_config
22

33
import (
4-
"auto_config/loader"
5-
"auto_config/reader"
6-
"auto_config/source"
4+
"github.com/huckops/auto_config/loader"
5+
"github.com/huckops/auto_config/reader"
6+
"github.com/huckops/auto_config/source"
77
)
88

99
type Options struct {

config_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package auto_config
22

33
import (
4-
"auto_config/loader"
5-
"auto_config/source/file"
64
"fmt"
5+
"github.com/huckops/auto_config/loader"
6+
"github.com/huckops/auto_config/source/file"
77
"testing"
88
)
99

defaults.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package auto_config
22

33
import (
4-
"auto_config/loader"
5-
"auto_config/reader"
4+
"github.com/huckops/auto_config/loader"
5+
"github.com/huckops/auto_config/reader"
66
"sync"
77
)
88

encoder/encoder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package encoder
22

33
import (
4-
"auto_config/encoder/yaml"
4+
"github.com/huckops/auto_config/encoder/yaml"
55
"io/ioutil"
66
"testing"
77
)

encoder/json/json.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package json
22

33
import (
4-
"auto_config/encoder"
54
jsonEncoding "encoding/json"
5+
"github.com/huckops/auto_config/encoder"
66
)
77

88
type json struct{}

encoder/yaml/yaml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package yaml
22

33
import (
4-
"auto_config/encoder"
54
yamlv2 "github.com/ghodss/yaml"
5+
"github.com/huckops/auto_config/encoder"
66
)
77

88
type yaml struct{}

loader/loader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package loader
22

33
import (
4-
"auto_config/source"
4+
"github.com/huckops/auto_config/source"
55
"time"
66
)
77

loader/memory.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package loader
22

33
import (
4-
"auto_config/reader"
5-
"auto_config/source"
64
"errors"
75
"fmt"
6+
"github.com/huckops/auto_config/reader"
7+
"github.com/huckops/auto_config/source"
88
"strings"
99
"sync"
1010
"time"

loader/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package loader
22

33
import (
4-
"auto_config/reader"
5-
"auto_config/source"
64
"context"
5+
"github.com/huckops/auto_config/reader"
6+
"github.com/huckops/auto_config/source"
77
)
88

99
type Options struct {

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package auto_config
22

3-
import "auto_config/source"
3+
import "github.com/huckops/auto_config/source"
44

55
func WithEntity(v interface{}) Option {
66
return func(options *Options) {

reader/json.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package reader
22

33
import (
4-
"auto_config/encoder"
5-
"auto_config/encoder/json"
6-
"auto_config/source"
74
"errors"
5+
"github.com/huckops/auto_config/encoder"
6+
"github.com/huckops/auto_config/encoder/json"
7+
"github.com/huckops/auto_config/source"
88
"github.com/imdario/mergo"
99
"time"
1010
)

reader/options.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package reader
22

33
import (
4-
"auto_config/encoder"
5-
"auto_config/encoder/json"
6-
"auto_config/encoder/yaml"
4+
"github.com/huckops/auto_config/encoder"
5+
"github.com/huckops/auto_config/encoder/json"
6+
"github.com/huckops/auto_config/encoder/yaml"
77
)
88

99
type Options struct {

reader/reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package reader
22

3-
import "auto_config/source"
3+
import "github.com/huckops/auto_config/source"
44

55
type Reader interface {
66
Merge(...*source.ChangeSet) (*source.ChangeSet, error)

source/file/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package file
22

33
import (
4-
"auto_config/source"
4+
"github.com/huckops/auto_config/source"
55
"io/ioutil"
66
"os"
77
"strings"

source/file/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package file
22

33
import (
4-
"auto_config/source"
54
"context"
5+
"github.com/huckops/auto_config/source"
66
)
77

88
//type Options struct {

source/file/watcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package file
22

33
import (
4-
"auto_config/source"
54
"github.com/fsnotify/fsnotify"
5+
"github.com/huckops/auto_config/source"
66
"os"
77
)
88

source/options.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package source
22

33
import (
4-
"auto_config/encoder"
5-
"auto_config/encoder/json"
64
"context"
5+
"github.com/huckops/auto_config/encoder"
6+
"github.com/huckops/auto_config/encoder/json"
77
)
88

99
type Options struct {

0 commit comments

Comments
 (0)