add struct
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b771745c47
commit
64345c9350
|
@ -6,7 +6,7 @@ steps:
|
|||
- name: build
|
||||
image: golang
|
||||
commands:
|
||||
- go build -o valera_tg_bot main.go
|
||||
- go build -o valera_tg_bot cmd/valera/main.go
|
||||
|
||||
- name: test
|
||||
image: golang
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"type": "go",
|
||||
"name": "run",
|
||||
"goExecPath": "/usr/local/go/bin/go",
|
||||
"buildParams": [
|
||||
"$PROJECT_DIR$/main.go",
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
// Используйте IntelliSense, чтобы узнать о возможных атрибутах.
|
||||
// Наведите указатель мыши, чтобы просмотреть описания существующих атрибутов.
|
||||
// Для получения дополнительной информации посетите: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "run",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceFolder}\\main.go"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -9,10 +9,10 @@ import (
|
|||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
"valera/calories"
|
||||
"valera/commands"
|
||||
"valera/db"
|
||||
"valera/pause"
|
||||
"valera/internal/calories"
|
||||
"valera/internal/commands"
|
||||
"valera/internal/db"
|
||||
"valera/internal/pause"
|
||||
|
||||
tgbot "github.com/go-telegram-bot-api/telegram-bot-api"
|
||||
"github.com/umputun/go-flags"
|
||||
|
@ -28,7 +28,7 @@ var (
|
|||
)
|
||||
|
||||
const (
|
||||
version = "v1.6.0"
|
||||
version = "v1.6.1"
|
||||
)
|
||||
|
||||
type Opts struct {
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
"log"
|
||||
"time"
|
||||
"valera/config"
|
||||
"valera/internal/config"
|
||||
|
||||
"go.mongodb.org/mongo-driver/bson"
|
||||
"go.mongodb.org/mongo-driver/mongo"
|
Loading…
Reference in New Issue