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
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- go build -o valera_tg_bot main.go
|
- go build -o valera_tg_bot cmd/valera/main.go
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: golang
|
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"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"valera/calories"
|
"valera/internal/calories"
|
||||||
"valera/commands"
|
"valera/internal/commands"
|
||||||
"valera/db"
|
"valera/internal/db"
|
||||||
"valera/pause"
|
"valera/internal/pause"
|
||||||
|
|
||||||
tgbot "github.com/go-telegram-bot-api/telegram-bot-api"
|
tgbot "github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"github.com/umputun/go-flags"
|
"github.com/umputun/go-flags"
|
||||||
|
@ -28,7 +28,7 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
version = "v1.6.0"
|
version = "v1.6.1"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Opts struct {
|
type Opts struct {
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
"valera/config"
|
"valera/internal/config"
|
||||||
|
|
||||||
"go.mongodb.org/mongo-driver/bson"
|
"go.mongodb.org/mongo-driver/bson"
|
||||||
"go.mongodb.org/mongo-driver/mongo"
|
"go.mongodb.org/mongo-driver/mongo"
|
Loading…
Reference in New Issue