Skip to content

Commit a484224

Browse files
authored
Use go1.13; remove vendor folder; update .github action (#130)
1 parent 3ede46d commit a484224

54 files changed

Lines changed: 5 additions & 22965 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
go: [ '1.14', '1.15' ]
17+
go: [ '1.18.1', '1.17.6', '1.16.5' ]
1818
steps:
1919
- uses: actions/checkout@v3
2020

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
[![Maintainability](https://api.codeclimate.com/v1/badges/1d64bc6c8474c2074f2b/maintainability)](https://codeclimate.com/github/stretchr/objx/maintainability)
55
[![Test Coverage](https://api.codeclimate.com/v1/badges/1d64bc6c8474c2074f2b/test_coverage)](https://codeclimate.com/github/stretchr/objx/test_coverage)
66
[![Sourcegraph](https://sourcegraph.com/github.com/stretchr/objx/-/badge.svg)](https://sourcegraph.com/github.com/stretchr/objx)
7-
[![GoDoc](https://godoc.org/github.com/stretchr/objx?status.svg)](https://godoc.org/github.com/stretchr/objx)
7+
[![GoDoc](https://pkg.go.dev/badge/github.com/stretchr/objx?utm_source=godoc)](https://pkg.go.dev/github.com/stretchr/objx)
88

99
Objx - Go package for dealing with maps, slices, JSON and other data.
1010

1111
Get started:
1212

1313
- Install Objx with [one line of code](#installation), or [update it with another](#staying-up-to-date)
14-
- Check out the API Documentation http://godoc.org/github.com/stretchr/objx
14+
- Check out the API Documentation http://pkg.go.dev/github.com/stretchr/objx
1515

1616
## Overview
1717
Objx provides the `objx.Map` type, which is a `map[string]interface{}` that exposes a powerful `Get` method (among others) that allows you to easily and quickly get access to data within the map, without having to worry too much about type assertions, missing data, default values etc.
@@ -74,7 +74,7 @@ To update Objx to the latest version, run:
7474
go get -u github.com/stretchr/objx
7575

7676
### Supported go versions
77-
We support the latest three major Go versions, which are 1.10, 1.11 and 1.12 at the moment.
77+
We currently support the most recent major Go versions from 1.13 onward.
7878

7979
## Contributing
8080
Please feel free to submit issues, fork the repository and send pull requests!

Taskfile.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
version: '2'
22

3-
env:
4-
GOFLAGS: -mod=vendor
5-
63
tasks:
74
default:
85
deps: [test]

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/stretchr/objx
22

3-
go 1.12
3+
go 1.13
44

55
require github.com/stretchr/testify v1.8.1

vendor/github.com/davecgh/go-spew/LICENSE

Lines changed: 0 additions & 15 deletions
This file was deleted.

vendor/github.com/davecgh/go-spew/spew/bypass.go

Lines changed: 0 additions & 145 deletions
This file was deleted.

vendor/github.com/davecgh/go-spew/spew/bypasssafe.go

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)