Merge branch 'update-package-paths' of kcotugno/tacitus into master

This commit is contained in:
Kevin Cotugno 2018-09-06 04:02:21 +00:00 committed by Gitea
commit 5fff5d19b5
20 changed files with 34 additions and 34 deletions

View File

@ -23,13 +23,13 @@ watcher: $(WATCHER)
webapp: $(WEBAPP) webapp: $(WEBAPP)
get: get:
go get $(GETFLAGS) github.com/kcotugno/tacitus go get $(GETFLAGS) git.kevincotugno.com/kcotugno/tacitus
go get $(GETFLAGS) github.com/kcotugno/tacitus/cmd/interval go get $(GETFLAGS) git.kevincotugno.com/kcotugno/tacitus/cmd/interval
go get $(GETFLAGS) github.com/kcotugno/tacitus/cmd/watcher go get $(GETFLAGS) git.kevincotugno.com/kcotugno/tacitus/cmd/watcher
go get $(GETFLAGS) github.com/kcotugno/tacitus/cmd/webapp go get $(GETFLAGS) git.kevincotugno.com/kcotugno/tacitus/cmd/webapp
go get $(GETFLAGS) github.com/kcotugno/tacitus/gdax go get $(GETFLAGS) git.kevincotugno.com/kcotugno/tacitus/gdax
go get $(GETFLAGS) github.com/kcotugno/tacitus/gdax/websocket go get $(GETFLAGS) git.kevincotugno.com/kcotugno/tacitus/gdax/websocket
go get $(GETFLAGS) github.com/kcotugno/tacitus/postgres go get $(GETFLAGS) git.kevincotugno.com/kcotugno/tacitus/postgres
fmt: $(TACITUS_FILES) $(OSUTIL_FILES) $(POSTGRES_FILES) $(OPS_FILES) \ fmt: $(TACITUS_FILES) $(OSUTIL_FILES) $(POSTGRES_FILES) $(OPS_FILES) \
$(GDAX_FILES) $(GDAX_WEBSOCKET_FILES) $(HTTP_FILES) $(GDAX_FILES) $(GDAX_WEBSOCKET_FILES) $(HTTP_FILES)

View File

@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/kcotugno/tacitus/postgres" "git.kevincotugno.com/kcotugno/tacitus/postgres"
) )
func main() { func main() {

View File

@ -1,12 +1,12 @@
package main package main
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"github.com/kcotugno/tacitus/gdax" "git.kevincotugno.com/kcotugno/tacitus/gdax"
"github.com/kcotugno/tacitus/gdax/websocket" "git.kevincotugno.com/kcotugno/tacitus/gdax/websocket"
"github.com/kcotugno/tacitus/ops" "git.kevincotugno.com/kcotugno/tacitus/ops"
"github.com/kcotugno/tacitus/osutil" "git.kevincotugno.com/kcotugno/tacitus/osutil"
"github.com/kcotugno/tacitus/postgres" "git.kevincotugno.com/kcotugno/tacitus/postgres"
"flag" "flag"
"fmt" "fmt"

View File

@ -1,9 +1,9 @@
package main package main
import ( import (
"github.com/kcotugno/tacitus/http" "git.kevincotugno.com/kcotugno/tacitus/http"
"github.com/kcotugno/tacitus/osutil" "git.kevincotugno.com/kcotugno/tacitus/osutil"
"github.com/kcotugno/tacitus/postgres" "git.kevincotugno.com/kcotugno/tacitus/postgres"
"log" "log"
) )

View File

@ -1,7 +1,7 @@
package gdax package gdax
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"errors" "errors"
"sync" "sync"

View File

@ -1,7 +1,7 @@
package gdax package gdax
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"encoding/json" "encoding/json"
"net/http" "net/http"

View File

@ -2,7 +2,7 @@ package websocket
import ( import (
"github.com/gorilla/websocket" "github.com/gorilla/websocket"
"github.com/kcotugno/tacitus/gdax" "git.kevincotugno.com/kcotugno/tacitus/gdax"
"sync" "sync"
"time" "time"

View File

@ -1,7 +1,7 @@
package http package http
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"net/http" "net/http"
) )

View File

@ -4,7 +4,7 @@ import (
"net" "net"
"net/http" "net/http"
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
) )
const DefaultAddr = ":8080" const DefaultAddr = ":8080"

View File

@ -6,7 +6,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
) )
type TradeHandler struct { type TradeHandler struct {

View File

@ -1,7 +1,7 @@
package ops package ops
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"sort" "sort"
"time" "time"

View File

@ -1,7 +1,7 @@
package ops package ops
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"github.com/shopspring/decimal" "github.com/shopspring/decimal"
"sync" "sync"

View File

@ -1,7 +1,7 @@
package ops package ops
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
) )
type Registrar struct { type Registrar struct {

View File

@ -1,8 +1,8 @@
package ops package ops
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"github.com/kcotugno/tacitus/gdax" "git.kevincotugno.com/kcotugno/tacitus/gdax"
"sort" "sort"
"time" "time"

View File

@ -1,7 +1,7 @@
package postgres package postgres
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"github.com/shopspring/decimal" "github.com/shopspring/decimal"
"database/sql" "database/sql"

View File

@ -1,7 +1,7 @@
package postgres package postgres
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"strings" "strings"
"time" "time"

View File

@ -7,7 +7,7 @@ import (
"database/sql" "database/sql"
"text/template" "text/template"
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
) )
const connStr = `host={{.Host}} dbname={{.Name}} port={{.Port}} user={{.User}} ` + const connStr = `host={{.Host}} dbname={{.Name}} port={{.Port}} user={{.User}} ` +

View File

@ -1,7 +1,7 @@
package postgres package postgres
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
) )
const ( const (

View File

@ -1,7 +1,7 @@
package postgres package postgres
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"database/sql" "database/sql"
"errors" "errors"

View File

@ -1,7 +1,7 @@
package postgres package postgres
import ( import (
"github.com/kcotugno/tacitus" "git.kevincotugno.com/kcotugno/tacitus"
"database/sql" "database/sql"
"strings" "strings"