From 61f75d0f7b6b032562948aa2ec10f925fafd432e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 11 Aug 2025 10:57:49 +0000 Subject: [PATCH] Moved repositories to the organization --- LICENSE.txt | 2 +- README.md | 14 ++++++-------- examples/info/README.md | 2 +- examples/info/main.go | 2 +- go.mod | 2 +- go.sum | 6 ------ mt4/client.go | 4 ++-- mt4/client_test.go | 4 ++-- 8 files changed, 14 insertions(+), 22 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 7585607..9b2720f 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2025 Valentin Popov +Copyright (c) 2025 Valentin Popov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/README.md b/README.md index fdba57b..9782786 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ # MT4 Client Library -[![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) -[![Go Report Card](https://goreportcard.com/badge/go.popov.link/metatrader4)](https://goreportcard.com/report/go.popov.link/metatrader4) +[![Go Reference](https://pkg.go.dev/badge/github.com/digineat/go-metatrader4.svg)](https://pkg.go.dev/github.com/digineat/go-metatrader4) +[![Go Report Card](https://goreportcard.com/badge/github.com/digineat/go-metatrader4)](https://goreportcard.com/report/github.com/digineat/go-metatrader4) A lightweight Go client library for interacting with a MetaTrader 4 (MT4) trading server over TCP. ## Example Usage ```go -import "go.popov.link/metatrader4/mt4" +import "github.com/digineat/go-metatrader4/mt4" client := mt4.NewClient("127.0.0.1", 443, mt4.WithDialTimeout(3*time.Second), @@ -40,11 +39,10 @@ Use `WithAutoClose(false)` if you want to reuse the connection manually via `cli ## Project Info -- Vanity import path: `go.popov.link/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) +- Vanity import path: `github.com/digineat/go-metatrader4/mt4` +- Issues and contributions: [GitHub](https://github.com/digineat/go-metatrader4/issues) -Maintained by [Valentin Popov](mailto:valentin@popov.link). +Maintained by [Valentin Popov](mailto:valentin.p@digineat.com). ## License diff --git a/examples/info/README.md b/examples/info/README.md index e6ac4d4..1e94aa7 100644 --- a/examples/info/README.md +++ b/examples/info/README.md @@ -1,6 +1,6 @@ # Example: INFO Command -This example demonstrates how to use the [`go-metatrader4`](https://github.com/valentineus/go-metatrader4) library to send the `INFO` command to a MetaTrader 4 (MT4) server and retrieve server information. +This example demonstrates how to use the [`go-metatrader4`](https://github.com/digineat/go-metatrader4) library to send the `INFO` command to a MetaTrader 4 (MT4) server and retrieve server information. The `INFO` command requests basic server details such as build version and company name. diff --git a/examples/info/main.go b/examples/info/main.go index 260ecba..4c70878 100644 --- a/examples/info/main.go +++ b/examples/info/main.go @@ -6,7 +6,7 @@ import ( "log" "time" - "go.popov.link/metatrader4/mt4" + "github.com/digineat/go-metatrader4/mt4" ) func main() { diff --git a/go.mod b/go.mod index 5a62ffe..b055c35 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.popov.link/metatrader4 +module github.com/digineat/go-metatrader4 go 1.24.2 diff --git a/go.sum b/go.sum index 6d2e4bb..433ec67 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,2 @@ -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.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M= -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= diff --git a/mt4/client.go b/mt4/client.go index 74fceee..953a65e 100644 --- a/mt4/client.go +++ b/mt4/client.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "go.popov.link/metatrader4/internal/conn" - "go.popov.link/metatrader4/internal/proto" + "github.com/digineat/go-metatrader4/internal/conn" + "github.com/digineat/go-metatrader4/internal/proto" ) // Client provides access to a MetaTrader4 server. diff --git a/mt4/client_test.go b/mt4/client_test.go index 2ff5417..d671e2b 100644 --- a/mt4/client_test.go +++ b/mt4/client_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - ic "go.popov.link/metatrader4/internal/conn" - "go.popov.link/metatrader4/internal/proto" + ic "github.com/digineat/go-metatrader4/internal/conn" + "github.com/digineat/go-metatrader4/internal/proto" ) // mockServer returns net.Pipe connections with server writing resp to client.