Rename package
This commit is contained in:
parent
37e1445f3f
commit
b34256a522
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/main
|
/main
|
||||||
/.env
|
/.env
|
||||||
/config.json
|
/config.json
|
||||||
|
/monobank-firefly-bot
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module main
|
module stuzer.link/monobank-firefly-bot
|
||||||
|
|
||||||
go 1.22.1
|
go 1.22.1
|
||||||
|
|
||||||
|
2
http.go
2
http.go
@ -3,8 +3,8 @@ package main
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"io"
|
"io"
|
||||||
monobank "main/monobank/api/webhook/models"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
|
monobank "stuzer.link/monobank-firefly-bot/monobank/api/webhook/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
func readResponseBody(r *http.Request) (monobank.Transaction, error) {
|
func readResponseBody(r *http.Request) (monobank.Transaction, error) {
|
||||||
|
@ -6,13 +6,13 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/antihax/optional"
|
"github.com/antihax/optional"
|
||||||
"main/firefly3"
|
|
||||||
monobank "main/monobank/api/webhook/models"
|
|
||||||
"math"
|
"math"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"slices"
|
"slices"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
"stuzer.link/monobank-firefly-bot/firefly3"
|
||||||
|
monobank "stuzer.link/monobank-firefly-bot/monobank/api/webhook/models"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user