Skip to content

Commit 22de44e

Browse files
authored
Add dep Go dependency management metadata files (aws#1544)
Adds the dep Go dependency management metadata files to the SDK. The Gopkg files allow your tools to detect the version of dependencies the SDK uses. Non-runtime dependencies such as test, example, and code generation packages are excluded from the Gopkg files as they are not needed to use the SDK. Fix aws#1451 Fix aws#634
1 parent 1a10a10 commit 22de44e

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

Gopkg.lock

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
2+
# Gopkg.toml example
3+
#
4+
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
5+
# for detailed Gopkg.toml documentation.
6+
#
7+
# required = ["github.com/user/thing/cmd/thing"]
8+
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
9+
#
10+
# [[constraint]]
11+
# name = "github.com/user/project"
12+
# version = "1.0.0"
13+
#
14+
# [[constraint]]
15+
# name = "github.com/user/project2"
16+
# branch = "dev"
17+
# source = "github.com/myfork/project2"
18+
#
19+
# [[override]]
20+
# name = "github.com/x/y"
21+
# version = "2.4.0"
22+
23+
ignored = [
24+
# Testing/Example/Codegen dependencies
25+
"github.com/stretchr/testify",
26+
"github.com/stretchr/testify/assert",
27+
"github.com/stretchr/testify/require",
28+
"github.com/go-sql-driver/mysql",
29+
"github.com/gucumber/gucumber",
30+
"github.com/pkg/errors",
31+
"golang.org/x/net",
32+
"golang.org/x/net/html",
33+
"golang.org/x/net/http2",
34+
"golang.org/x/text",
35+
"golang.org/x/text/html",
36+
"golang.org/x/tools",
37+
"golang.org/x/tools/go/loader",
38+
]
39+
40+
41+
[[constraint]]
42+
name = "github.com/go-ini/ini"
43+
version = "1.25.4"
44+
45+
[[constraint]]
46+
name = "github.com/jmespath/go-jmespath"
47+
revision = "0b12d6b5"
48+
#version = "0.2.2"

0 commit comments

Comments
 (0)