Rename package

This commit is contained in:
Illya Marchenko 2024-04-05 15:48:12 +03:00
parent 37e1445f3f
commit b34256a522
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F
4 changed files with 6 additions and 5 deletions

1
.gitignore vendored

@ -2,3 +2,4 @@
/main /main
/.env /.env
/config.json /config.json
/monobank-firefly-bot

2
go.mod

@ -1,4 +1,4 @@
module main module stuzer.link/monobank-firefly-bot
go 1.22.1 go 1.22.1

@ -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"
) )