applied renamer
This commit is contained in:
parent
ce1b7ee0e4
commit
80999e87ee
@ -1,7 +1,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/app"
|
"gitea.pena/PenaSide/cbrfWorker/internal/app"
|
||||||
"github.com/skeris/appInit"
|
"github.com/skeris/appInit"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module github.com/danilsolovyov/croupierCbrf
|
module gitea.pena/PenaSide/cbrfWorker
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/dal"
|
"gitea.pena/PenaSide/cbrfWorker/internal/dal"
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/handlers"
|
"gitea.pena/PenaSide/cbrfWorker/internal/handlers"
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/worker"
|
"gitea.pena/PenaSide/cbrfWorker/internal/worker"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/skeris/appInit"
|
"github.com/skeris/appInit"
|
||||||
"github.com/themakers/hlog"
|
"github.com/themakers/hlog"
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/dal"
|
"gitea.pena/PenaSide/cbrfWorker/internal/dal"
|
||||||
"github.com/themakers/hlog"
|
"github.com/themakers/hlog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/dal"
|
"gitea.pena/PenaSide/cbrfWorker/internal/dal"
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/utils"
|
"gitea.pena/PenaSide/cbrfWorker/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (h *Handler) GetQuotes(w http.ResponseWriter, r *http.Request) {
|
func (h *Handler) GetQuotes(w http.ResponseWriter, r *http.Request) {
|
||||||
|
@ -3,7 +3,7 @@ package utils_test
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/utils"
|
"gitea.pena/PenaSide/cbrfWorker/internal/utils"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/dal"
|
"gitea.pena/PenaSide/cbrfWorker/internal/dal"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CurrencyExchange(currencies map[string]dal.Quote, fromCurrency, toCurrency string, amount int64) (int64, error) {
|
func CurrencyExchange(currencies map[string]dal.Quote, fromCurrency, toCurrency string, amount int64) (int64, error) {
|
||||||
|
@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/dal"
|
"gitea.pena/PenaSide/cbrfWorker/internal/dal"
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/utils"
|
"gitea.pena/PenaSide/cbrfWorker/internal/utils"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/danilsolovyov/croupierCbrf/internal/dal"
|
"gitea.pena/PenaSide/cbrfWorker/internal/dal"
|
||||||
"github.com/themakers/hlog"
|
"github.com/themakers/hlog"
|
||||||
"golang.org/x/text/encoding/charmap"
|
"golang.org/x/text/encoding/charmap"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user