Skip to content

Commit 88bc918

Browse files
committed
Add go module and update to Go 1.17 as minimum requirement.
1 parent 8c08cb4 commit 88bc918

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Folders
88
_obj
99
_test
10+
.idea
1011

1112
# Architecture specific extensions/prefixes
1213
*.[568vq]

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919
## Dependencies
2020

2121
* A [working](https://golang.org/doc/install#testing) [Go](https://golang.org/)
22-
[1.5](https://golang.org/doc/go1.5) environment (You can use
23-
[goenv](https://github.com/pwoolcoc/goenv) if your distribution does not
24-
support Go 1.5 yet)
22+
[1.17](https://golang.org/doc/go1.17) environment
2523
* utf-8 terminal with 256 colors
26-
* A sane monospaced font containing all the required runes (I use `dejavu sans
24+
* A monospaced font containing all the required runes (I use `dejavu sans
2725
mono`)
2826
* An API key for the backend (see Setup below)
2927

go.mod

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module github.com/schachmat/wego
2+
3+
go 1.17
4+
5+
require (
6+
github.com/mattn/go-colorable v0.1.12
7+
github.com/mattn/go-runewidth v0.0.13
8+
github.com/schachmat/ingo v0.0.0-20170403011506-a4bdc0729a3f
9+
)
10+
11+
require (
12+
github.com/mattn/go-isatty v0.0.14 // indirect
13+
github.com/rivo/uniseg v0.2.0 // indirect
14+
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 // indirect
15+
)

go.sum

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40=
2+
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
3+
github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y=
4+
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
5+
github.com/mattn/go-runewidth v0.0.13 h1:lTGmDsbAYt5DmK6OnoV7EuIF1wEIFAcxld6ypU4OSgU=
6+
github.com/mattn/go-runewidth v0.0.13/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w=
7+
github.com/rivo/uniseg v0.2.0 h1:S1pD9weZBuJdFmowNwbpi7BJ8TNftyUImj/0WQi72jY=
8+
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
9+
github.com/schachmat/ingo v0.0.0-20170403011506-a4bdc0729a3f h1:LVVgdfybimT/BiUdv92Jl2GKh8I6ixWcQkMUxZOcM+A=
10+
github.com/schachmat/ingo v0.0.0-20170403011506-a4bdc0729a3f/go.mod h1:WCPgQqzEa4YPOI8WKplmQu5WyU+BdI1cioHNkzWScP8=
11+
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
12+
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 h1:foEbQz/B0Oz6YIqu/69kfXPYeFQAuuMYFkjaqXzl5Wo=
13+
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=

0 commit comments

Comments
 (0)