Skip to content

Commit

Permalink
Add standard module path (#3)
Browse files Browse the repository at this point in the history
Update import paths of internal packages
  • Loading branch information
kavir1698 authored Mar 14, 2024
1 parent 07620b9 commit 421dcd7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/datasetArchiver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"log"
"net/http"
"os"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"strings"
"time"

Expand Down
2 changes: 1 addition & 1 deletion cmd/datasetCleaner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"fmt"
"log"
"net/http"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"time"

"github.com/fatih/color"
Expand Down
2 changes: 1 addition & 1 deletion cmd/datasetGetProposal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"log"
"net/http"
"os"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"time"

"github.com/fatih/color"
Expand Down
4 changes: 2 additions & 2 deletions cmd/datasetIngestor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ import (
"net/http"
"os"
"path/filepath"
"scicat/datasetIngestor"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetIngestor"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"strings"
"time"

Expand Down
2 changes: 1 addition & 1 deletion cmd/datasetPublishData/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"net/http"
"os"
"os/exec"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"strings"
"time"
"unicode/utf8"
Expand Down
2 changes: 1 addition & 1 deletion cmd/datasetPublishDataRetrieve/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"log"
"net/http"
"os"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"time"

"github.com/fatih/color"
Expand Down
2 changes: 1 addition & 1 deletion cmd/datasetRetriever/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"net/http"
"os"
"os/exec"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"strings"
"time"

Expand Down
2 changes: 1 addition & 1 deletion cmd/waitForJobFinished/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"log"
"net/http"
"net/url"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"time"

"github.com/fatih/color"
Expand Down
2 changes: 1 addition & 1 deletion datasetIngestor/checkMetadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package datasetIngestor

import (
"bytes"
"scicat/datasetUtils"
"github.com/paulscherrerinstitute/scicat/datasetUtils"
"encoding/json"
"io/ioutil"
"log"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module scicat
module github.com/paulscherrerinstitute/scicat

go 1.15

Expand Down

0 comments on commit 421dcd7

Please sign in to comment.