Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
push:

jobs:
test:
name: Go Test
runs-on: ubuntu-latest
steps:
-
name: Check out code
uses: actions/checkout@v4
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
-
name: Go Test
shell: bash
run: |
GOGC=off go test -cover -coverprofile=coverage.out -race -count 1 ./...
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions MAINTAINERS

This file was deleted.

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# envconfig

[![Build Status](https://travis-ci.org/kelseyhightower/envconfig.svg)](https://travis-ci.org/kelseyhightower/envconfig)

```Go
import "github.com/kelseyhightower/envconfig"
import "github.com/hexdigest/envconfig"
```

## Documentation

See [godoc](http://godoc.org/github.com/kelseyhightower/envconfig)
See [godoc](http://godoc.org/github.com/hexdigest/envconfig)

## Usage

Expand All @@ -34,7 +32,7 @@ import (
"log"
"time"

"github.com/kelseyhightower/envconfig"
"github.com/hexdigest/envconfig"
)

type Specification struct {
Expand Down
6 changes: 3 additions & 3 deletions envconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ func TestProcess(t *testing.T) {
os.Setenv("ENV_CONFIG_DATETIME", "2016-08-16T18:57:05Z")
os.Setenv("ENV_CONFIG_MULTI_WORD_VAR_WITH_AUTO_SPLIT", "24")
os.Setenv("ENV_CONFIG_MULTI_WORD_ACR_WITH_AUTO_SPLIT", "25")
os.Setenv("ENV_CONFIG_URLVALUE", "https://github.com/kelseyhightower/envconfig")
os.Setenv("ENV_CONFIG_URLPOINTER", "https://github.com/kelseyhightower/envconfig")
os.Setenv("ENV_CONFIG_URLVALUE", "https://github.com/hexdigest/envconfig")
os.Setenv("ENV_CONFIG_URLPOINTER", "https://github.com/hexdigest/envconfig")
err := Process("env_config", &s)
if err != nil {
t.Error(err.Error())
Expand Down Expand Up @@ -209,7 +209,7 @@ func TestProcess(t *testing.T) {
t.Errorf("expected %d, got %d", 25, s.MultiWordACRWithAutoSplit)
}

u, err := url.Parse("https://github.com/kelseyhightower/envconfig")
u, err := url.Parse("https://github.com/hexdigest/envconfig")
if err != nil {
t.Fatalf("unexpected error: %v", err)
}
Expand Down