Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/telegram feeder #11

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: '1.21'

- name: Check out code
uses: actions/checkout@v2
Expand All @@ -56,9 +56,9 @@ jobs:
needs: [test]
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: '1.21'

- name: Check out code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5

- name: Find Last Tag
id: last
Expand Down
5 changes: 5 additions & 0 deletions data/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"bytes"
"fmt"
html "html/template"
"strings"
"sync"
text "text/template"
)
Expand Down Expand Up @@ -64,6 +65,10 @@ func (d *Message) GetExtra() map[string]interface{} {
// Ignoring main content
continue
}
if strings.HasPrefix(key, "_") {
// ignore keys that starts with _
continue
}
clone[key] = value
}
return clone
Expand Down
Loading
Loading