feat: add go module and bot skeleton main.go #4

Open
stirgpea wants to merge 12 commits from feature/bot-skeleton into master
Collaborator

Initial Go module initialization and basic main.go skeleton for pievr bot.

Initial Go module initialization and basic main.go skeleton for pievr bot.
stirgpea added 1 commit 2026-08-21 14:02:06 +02:00
stirgpea added 1 commit 2026-08-21 14:03:45 +02:00
stirgpea added 1 commit 2026-08-21 14:08:43 +02:00
stirgpea added 1 commit 2026-08-21 14:08:54 +02:00
stirgpea added 1 commit 2026-08-21 14:13:09 +02:00
stirgpea added 1 commit 2026-08-21 14:44:39 +02:00
koval reviewed 2026-08-21 14:48:39 +02:00
@ -0,0 +43,4 @@
return &Client{
client: c,
model: "gemini-2.5-flash", // Default model for now
Owner

Давай это тоже через конфиг задавать.

Давай это тоже через конфиг задавать.
koval marked this conversation as resolved
stirgpea added 1 commit 2026-08-21 14:54:20 +02:00
koval reviewed 2026-08-21 14:58:04 +02:00
@ -0,0 +26,4 @@
}
// Set default model if not provided
if cfg.GeminiModel == "" {
Owner

Не, давай без этого. Можешь, в тегах в самой структуре конфига задать дефолтрые значения, но вот так if прописывать давай не будем.

Не, давай без этого. Можешь, в тегах в самой структуре конфига задать дефолтрые значения, но вот так if прописывать давай не будем.
koval marked this conversation as resolved
stirgpea added 1 commit 2026-08-21 15:15:12 +02:00
stirgpea added 1 commit 2026-08-21 15:31:38 +02:00
stirgpea added 1 commit 2026-08-21 15:33:15 +02:00
stirgpea added 1 commit 2026-08-21 16:18:43 +02:00
stirgpea added 1 commit 2026-08-21 16:33:05 +02:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/bot-skeleton:feature/bot-skeleton
git checkout feature/bot-skeleton

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout master
git merge --no-ff feature/bot-skeleton
git checkout feature/bot-skeleton
git rebase master
git checkout master
git merge --ff-only feature/bot-skeleton
git checkout feature/bot-skeleton
git rebase master
git checkout master
git merge --no-ff feature/bot-skeleton
git checkout master
git merge --squash feature/bot-skeleton
git checkout master
git merge --ff-only feature/bot-skeleton
git checkout master
git merge feature/bot-skeleton
git push origin master
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: koval/pievr#4
No description provided.