Skip to content

Commit a9029b5

Browse files
committed
fix(mod): fix go mod package name
1 parent 2fcb118 commit a9029b5

30 files changed

Lines changed: 108 additions & 108 deletions

File tree

cmd/omsd/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import (
55
"fmt"
66
"github.com/kardianos/service"
77
log "github.com/sirupsen/logrus"
8+
"github.com/ssbeatty/oms/internal/config"
9+
"github.com/ssbeatty/oms/internal/models"
10+
"github.com/ssbeatty/oms/internal/server"
11+
"github.com/ssbeatty/oms/pkg/logger"
12+
"github.com/ssbeatty/oms/version"
813
"io/fs"
9-
"oms/internal/config"
10-
"oms/internal/models"
11-
"oms/internal/server"
12-
"oms/pkg/logger"
13-
"oms/version"
1414
"os"
1515
"path/filepath"
1616
"runtime"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module oms
1+
module github.com/ssbeatty/oms
22

33
go 1.18
44

internal/config/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package config
22

33
import (
44
_ "embed"
5+
"github.com/ssbeatty/oms/pkg/utils"
56
"gopkg.in/yaml.v2"
67
"io/fs"
78
"io/ioutil"
8-
"oms/pkg/utils"
99
"time"
1010
)
1111

internal/metrics/common.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ package metrics
22

33
import (
44
"github.com/prometheus/client_golang/prometheus"
5-
"oms/internal/ssh"
6-
"oms/internal/task"
7-
"oms/internal/tunnel"
8-
"oms/pkg/transport"
5+
"github.com/ssbeatty/oms/internal/ssh"
6+
"github.com/ssbeatty/oms/internal/task"
7+
"github.com/ssbeatty/oms/internal/tunnel"
8+
"github.com/ssbeatty/oms/pkg/transport"
99
"time"
1010
)
1111

internal/models/job.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"fmt"
66
"github.com/google/uuid"
7+
"github.com/ssbeatty/oms/internal/config"
78
"io/ioutil"
8-
"oms/internal/config"
99
"os"
1010
"path"
1111
"path/filepath"

internal/models/service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import (
66
"fmt"
77
_ "github.com/go-sql-driver/mysql"
88
_ "github.com/jackc/pgx/v4"
9+
"github.com/ssbeatty/oms/pkg/logger"
10+
"github.com/ssbeatty/oms/pkg/utils"
911
"github.com/ssbeatty/sqlite"
1012
"gorm.io/driver/mysql"
1113
"gorm.io/driver/postgres"
1214
"gorm.io/gorm"
1315
"gorm.io/gorm/clause"
1416
gormLogger "gorm.io/gorm/logger"
15-
"oms/pkg/logger"
16-
"oms/pkg/utils"
1717
"os"
1818
"path"
1919
"strings"

internal/server/server.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package server
22

33
import (
4-
"oms/internal/config"
5-
"oms/internal/ssh"
6-
"oms/internal/task"
7-
"oms/internal/tunnel"
8-
"oms/internal/web"
4+
"github.com/ssbeatty/oms/internal/config"
5+
"github.com/ssbeatty/oms/internal/ssh"
6+
"github.com/ssbeatty/oms/internal/task"
7+
"github.com/ssbeatty/oms/internal/tunnel"
8+
"github.com/ssbeatty/oms/internal/web"
99
)
1010

1111
type Server struct {

internal/ssh/buildin/buildin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package buildin
33
import (
44
"encoding/json"
55
"github.com/ssbeatty/jsonschema"
6+
"github.com/ssbeatty/oms/pkg/transport"
67
"io/fs"
7-
"oms/pkg/transport"
88
"os/exec"
99
"path/filepath"
1010
"reflect"

internal/ssh/buildin/file.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"compress/gzip"
77
"fmt"
88
"github.com/pkg/errors"
9+
"github.com/ssbeatty/oms/pkg/transport"
10+
"github.com/ssbeatty/oms/pkg/utils"
911
"io"
10-
"oms/pkg/transport"
11-
"oms/pkg/utils"
1212
"os"
1313
"path/filepath"
1414
)

internal/ssh/buildin/text.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"github.com/goccy/go-yaml/parser"
77
"github.com/pkg/errors"
88
"github.com/ssbeatty/jsonschema"
9+
"github.com/ssbeatty/oms/pkg/transport"
10+
"github.com/ssbeatty/oms/pkg/utils"
911
"io/ioutil"
10-
"oms/pkg/transport"
11-
"oms/pkg/utils"
1212
"os"
1313
"strings"
1414
)

0 commit comments

Comments
 (0)