Skip to content

Commit

Permalink
Prepare for Go 1.11 modules (#505)
Browse files Browse the repository at this point in the history
* Prepare for Go 1.11 modules

Initialize go.mod file to support Go 1.11 modules. We don't have any
non-standard dependencies so our go.mod and go.sum are mostly empty.

Having this file in the repository will allow users to fetch GoThemis
using module system, pin versions, etc.

Since GoThemis and Themis core are still v0.XX, we can ignore all "v2+
modules" thingies in Golang. From semver point of view Themis has major
version v0 and there are no compatibility guarantees between versions.

Note that modules are not immediately available with versioning. We
still need to release v0.12 and tag it in a proper way.

* Remove explicit Go version requirement

Don't specify "go" directive to avoid breaking some 1.11.* versions of
Golang [1]. Currently we don't have a minimum required version of Go.

[1]: https://golang.org/doc/go1.12#modules
  • Loading branch information
ilammy committed Jul 23, 2019
1 parent a0fb767 commit 1292c9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gothemis/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module github.com/cossacklabs/themis/gothemis
Empty file added gothemis/go.sum
Empty file.

0 comments on commit 1292c9d

Please sign in to comment.