aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-11-14 00:01:46 -0800
committerEugene Triguba <hello@eugenetriguba.com>2026-11-14 00:01:46 -0800
commit0d2dcb307ed1edd11b7afab30ddb3b67d762e671 (patch)
tree8414fc4088063ed1dfdc594c6278347243c766a3
parentRelease v0.2.0 (diff)
downloadenvelope-0d2dcb307ed1edd11b7afab30ddb3b67d762e671.zip
Migrate from sourcehut to git.eugenetriguba.com
-rw-r--r--.build.yml10
-rw-r--r--CHANGELOG.md8
-rw-r--r--README.md14
-rw-r--r--env_test.go4
-rw-r--r--errors_test.go4
-rw-r--r--go.mod4
-rw-r--r--go.sum4
-rw-r--r--parsers_test.go2
8 files changed, 26 insertions, 24 deletions
diff --git a/.build.yml b/.build.yml
deleted file mode 100644
index b629146..0000000
--- a/.build.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-image: alpine/3.22
-packages:
- - go
-sources:
- - git://git.sr.ht/~eugenetriguba/envelope
-tasks:
- - test: |
- cd envelope
- go test -race -coverprofile=coverage.out -covermode=atomic ./...
- go tool cover -func=coverage.out
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d4706fd..8d3b54e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [Unreleased]
+
+### Changed
+
+- Migrated the project from sourcehut to git.eugenetriguba.com. The module path
+ is now `git.eugenetriguba.com/envelope` instead of
+ `git.sr.ht/~eugenetriguba/envelope`.
+
## [0.2.0] - 2025-07-19
### Added
diff --git a/README.md b/README.md
index 00b7183..eb9d497 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,18 @@
# Envelope
-[![GoDoc](https://godoc.org/git.sr.ht/~eugenetriguba/envelope?status.svg)](https://godoc.org/git.sr.ht/~eugenetriguba/envelope)
-[![Go Report Card](https://goreportcard.com/badge/git.sr.ht/~eugenetriguba/envelope)](https://goreportcard.com/report/git.sr.ht/~eugenetriguba/envelope)
+<p>
+ <a href="https://pkg.go.dev/git.eugenetriguba.com/envelope">
+ <img src="https://pkg.go.dev/badge/git.eugenetriguba.com/envelope.svg" alt="Go Reference">
+ </a>
+ <img alt="Version Badge" src="https://img.shields.io/badge/version-0.2.0-blue" style="max-width:100%;">
+</p>
Envelope is a Go library that makes it easy to populate Go structs from environment variables.
## Installation
```bash
-go get git.sr.ht/~eugenetriguba/envelope
+go get git.eugenetriguba.com/envelope
```
## Quick Start
@@ -21,7 +25,7 @@ import (
"log"
"time"
- "git.sr.ht/~eugenetriguba/envelope"
+ "git.eugenetriguba.com/envelope"
)
type Config struct {
@@ -190,4 +194,4 @@ if errors.As(err, &parseErr) {
## Reference Documentation
-For the full API documentation, see the [GoDoc](https://godoc.org/git.sr.ht/~eugenetriguba/envelope).
+For the full API documentation, see the [Go reference](https://pkg.go.dev/git.eugenetriguba.com/envelope).
diff --git a/env_test.go b/env_test.go
index 984ef2a..adf3386 100644
--- a/env_test.go
+++ b/env_test.go
@@ -7,8 +7,8 @@ import (
"reflect"
"testing"
- "git.sr.ht/~eugenetriguba/checkmate/assert"
- "git.sr.ht/~eugenetriguba/checkmate/check"
+ "git.eugenetriguba.com/checkmate/assert"
+ "git.eugenetriguba.com/checkmate/check"
)
type TestStruct struct {
diff --git a/errors_test.go b/errors_test.go
index fb739a0..7d2ce91 100644
--- a/errors_test.go
+++ b/errors_test.go
@@ -5,8 +5,8 @@ import (
"reflect"
"testing"
- "git.sr.ht/~eugenetriguba/checkmate/assert"
- "git.sr.ht/~eugenetriguba/checkmate/check"
+ "git.eugenetriguba.com/checkmate/assert"
+ "git.eugenetriguba.com/checkmate/check"
)
// GIVEN a BaseError
diff --git a/go.mod b/go.mod
index 00d81e6..0706966 100644
--- a/go.mod
+++ b/go.mod
@@ -1,7 +1,7 @@
-module git.sr.ht/~eugenetriguba/envelope
+module git.eugenetriguba.com/envelope
go 1.23.0
-require git.sr.ht/~eugenetriguba/checkmate v0.3.3
+require git.eugenetriguba.com/checkmate v0.6.0
require github.com/google/go-cmp v0.6.0 // indirect
diff --git a/go.sum b/go.sum
index c66aafa..8492c5d 100644
--- a/go.sum
+++ b/go.sum
@@ -1,4 +1,4 @@
-git.sr.ht/~eugenetriguba/checkmate v0.3.3 h1:5qEwiDLRVcaI4Z5LRpUQYz0CIsSA9OuWxFB9GBDRMrk=
-git.sr.ht/~eugenetriguba/checkmate v0.3.3/go.mod h1:Pxv1PKcBSbOqmoEOZxOBJVv9dHUGU+zcwuwfnGqZEQk=
+git.eugenetriguba.com/checkmate v0.6.0 h1:zoVgja0E/QC+sE8rHTQHQxXQJERF0KN2m51EZv6oWi0=
+git.eugenetriguba.com/checkmate v0.6.0/go.mod h1:EHRoN/2R48KUxNvgQcvsMdRme+1e/2IcW6PUBXsJhF4=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
diff --git a/parsers_test.go b/parsers_test.go
index 1ea9299..b0e556e 100644
--- a/parsers_test.go
+++ b/parsers_test.go
@@ -7,7 +7,7 @@ import (
"testing"
"time"
- "git.sr.ht/~eugenetriguba/checkmate/assert"
+ "git.eugenetriguba.com/checkmate/assert"
)
// GIVEN a string parser