0
mirror of https://github.com/valentineus/go-metatrader4.git synced 2025-08-12 09:26:40 +03:00

6 Commits

Author SHA1 Message Date
renovate[bot]
1d635b187a Update module golang.org/x/text to v0.28.0 (#12)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-07 20:31:37 +00:00
renovate[bot]
452b0d4076 Update dependency go to v1.24.6 (#11)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-07 04:56:49 +00:00
renovate[bot]
d6d0d2ede6 Update dependency go to v1.24.5 (#10)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-11 12:56:33 +00:00
renovate[bot]
bf914a1498 Update module golang.org/x/text to v0.27.0 (#9)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-10 03:09:06 +00:00
a045cc87d0 Update README with new source mirror URL and add GitHub Actions workflow for repository mirroring 2025-06-15 16:10:03 +04:00
8f88b8b9c8 Add Go Report Card badge to README 2025-06-09 16:48:59 +04:00
5 changed files with 34 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.24.4" go-version: "1.24.6"
- name: Cache Go modules - name: Cache Go modules
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
@@ -51,7 +51,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.24.4" go-version: "1.24.6"
- name: Run golangci-lint - name: Run golangci-lint
uses: golangci/golangci-lint-action@v8 uses: golangci/golangci-lint-action@v8
with: with:

25
.github/workflows/mirror.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Mirror
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror to remote repository
uses: yesolutions/mirror-action@master
with:
REMOTE: "https://git.popov.link/go-metatrader4.git"
GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

View File

@@ -2,6 +2,7 @@
[![Go Reference](https://pkg.go.dev/badge/go.popov.link/metatrader4.svg)](https://pkg.go.dev/go.popov.link/metatrader4) [![Go Reference](https://pkg.go.dev/badge/go.popov.link/metatrader4.svg)](https://pkg.go.dev/go.popov.link/metatrader4)
[![codecov](https://codecov.io/gh/valentineus/go-metatrader4/graph/badge.svg?token=6ZE32TQERQ)](https://codecov.io/gh/valentineus/go-metatrader4) [![codecov](https://codecov.io/gh/valentineus/go-metatrader4/graph/badge.svg?token=6ZE32TQERQ)](https://codecov.io/gh/valentineus/go-metatrader4)
[![Go Report Card](https://goreportcard.com/badge/go.popov.link/metatrader4)](https://goreportcard.com/report/go.popov.link/metatrader4)
A lightweight Go client library for interacting with a MetaTrader 4 (MT4) trading server over TCP. A lightweight Go client library for interacting with a MetaTrader 4 (MT4) trading server over TCP.
@@ -40,7 +41,7 @@ Use `WithAutoClose(false)` if you want to reuse the connection manually via `cli
## Project Info ## Project Info
- Vanity import path: `go.popov.link/metatrader4` - Vanity import path: `go.popov.link/metatrader4`
- Source mirror (read-only): [code.popov.link](https://code.popov.link/valentineus/go-metatrader4) - Source mirror (read-only): [git.popov.link](https://git.popov.link/go-metatrader4/)
- Issues and contributions: [GitHub](https://github.com/valentineus/go-metatrader4/issues) - Issues and contributions: [GitHub](https://github.com/valentineus/go-metatrader4/issues)
Maintained by [Valentin Popov](mailto:valentin@popov.link). Maintained by [Valentin Popov](mailto:valentin@popov.link).

2
go.mod
View File

@@ -2,4 +2,4 @@ module go.popov.link/metatrader4
go 1.24.2 go 1.24.2
require golang.org/x/text v0.26.0 require golang.org/x/text v0.28.0

4
go.sum
View File

@@ -2,3 +2,7 @@ golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M= golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA= golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4=
golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU=
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=