From 878c4dfe7186a8e2a9208b7b0234ac6dce16fd49 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sun, 11 Feb 2024 15:24:46 +0100 Subject: [PATCH] Update URLs to point to new repository domain The URLs in all the files that reference the old domain (github.com) have been updated to reference the new domain (src.neessen.cloud). This includes URLs in badges, links in the README.md, import paths in .go files, and module paths in go.mod and .golangci.toml. --- .golangci.toml | 2 +- README.md | 18 +++++++++--------- go.mod | 2 +- meteologix.go | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.golangci.toml b/.golangci.toml index a5a7fb0..37437b6 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -11,5 +11,5 @@ enable = ["stylecheck", "whitespace", "containedctx", "contextcheck", "decorder" "errname", "errorlint", "gofmt", "gofumpt", "goimports"] [linters-settings.goimports] -local-prefixes = "github.com/wneessen/go-meteologix" +local-prefixes = "src.neessen.cloud/wneessen/go-meteologix" diff --git a/README.md b/README.md index 30fcb1e..68073b6 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ SPDX-License-Identifier: CC0-1.0 # go-meteologix - Go packages for accessing Meteologix/Kachelmann Wetter/WeatherUS data -[![GoDoc](https://godoc.org/github.com/wneessen/go-mail?status.svg)](https://pkg.go.dev/github.com/wneessen/go-meteologix) +[![GoDoc](https://godoc.org/src.neessen.cloud/wneessen/go-mail?status.svg)](https://pkg.go.dev/src.neessen.cloud/wneessen/go-meteologix) [![codecov](https://codecov.io/gh/wneessen/go-meteologix/branch/main/graph/badge.svg?token=W4QI1RMR4L)](https://codecov.io/gh/wneessen/go-meteologix) -[![Go Report Card](https://goreportcard.com/badge/github.com/wneessen/go-meteologix)](https://goreportcard.com/report/github.com/wneessen/go-meteologix) +[![Go Report Card](https://goreportcard.com/badge/src.neessen.cloud/wneessen/go-meteologix)](https://goreportcard.com/report/src.neessen.cloud/wneessen/go-meteologix) [![#go-meteologix on Discord](https://img.shields.io/badge/Discord-%23go–meteologix-blue.svg)](https://discord.gg/TvNMuDh4pK) -[![REUSE status](https://api.reuse.software/badge/github.com/wneessen/go-meteologix)](https://api.reuse.software/info/github.com/wneessen/go-meteologix) +[![REUSE status](https://api.reuse.software/badge/src.neessen.cloud/wneessen/go-meteologix)](https://api.reuse.software/info/src.neessen.cloud/wneessen/go-meteologix) buy ma a coffee

go-meteologx logo

@@ -32,7 +32,7 @@ For Geolocation lookups, the package makes use of the ## Usage The library is fully documented using the execellent GoDoc functionality. Check out -the [full reference on pkg.go.dev](https://pkg.go.dev/github.com/wneessen/go-hibp) for +the [full reference on pkg.go.dev](https://pkg.go.dev/src.neessen.cloud/wneessen/go-hibp) for details. ## Examples @@ -48,7 +48,7 @@ import ( "fmt" "os" - "github.com/wneessen/go-meteologix" + "src.neessen.cloud/wneessen/go-meteologix" ) func main() { @@ -76,7 +76,7 @@ import ( "fmt" "os" - "github.com/wneessen/go-meteologix" + "src.neessen.cloud/wneessen/go-meteologix" ) func main() { @@ -106,7 +106,7 @@ import ( "math" "os" - "github.com/wneessen/go-meteologix" + "src.neessen.cloud/wneessen/go-meteologix" ) func main() { @@ -139,7 +139,7 @@ import ( "fmt" "os" - "github.com/wneessen/go-meteologix" + "src.neessen.cloud/wneessen/go-meteologix" ) func main() { @@ -158,7 +158,7 @@ func main() { ``` ## Authors/Contributors -go-meteologix was authored and developed by [Winni Neessen](https://github.com/wneessen/). +go-meteologix was authored and developed by [Winni Neessen](https://src.neessen.cloud/wneessen/). Big thanks to the following people, for contributing to the go-meteologix project (either in form of code, reviewing code, writing documenation or contributing in any other form): diff --git a/go.mod b/go.mod index d921b0b..da3ad51 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,6 @@ // // SPDX-License-Identifier: MIT -module github.com/wneessen/go-meteologix +module src.neessen.cloud/wneessen/go-meteologix go 1.20 diff --git a/meteologix.go b/meteologix.go index e8698f7..714d5e7 100644 --- a/meteologix.go +++ b/meteologix.go @@ -22,7 +22,7 @@ const ( // DefaultUserAgent is the default User-Agent presented by the HTTPClient var DefaultUserAgent = fmt.Sprintf("go-meteologix/fv%s (%s; %s; "+ - "+https://github.com/wneessen/go-meteologix)", VERSION, runtime.GOOS, + "+https://src.neessen.cloud/wneessen/go-meteologix)", VERSION, runtime.GOOS, runtime.Version()) // Client represents the Meteologix API Client