From a3613f24ecc56d27de0d8d02e18ff6ff8599cab2 Mon Sep 17 00:00:00 2001 From: Osipov Konstantin Date: Sun, 14 Nov 2021 14:23:25 +0300 Subject: [PATCH] Support go modules --- .gitignore | 28 +--------------------------- go.mod | 5 +++++ go.sum | 3 +++ 3 files changed, 9 insertions(+), 27 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/.gitignore b/.gitignore index 6f77968..331c58f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,28 +1,2 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe -*.test -*.prof - -#idea .idea -*.iml \ No newline at end of file +vendor \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..1767c5b --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/liderman/text-generator + +go 1.15 + +require github.com/patrickmn/go-cache v2.1.0+incompatible diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..532b286 --- /dev/null +++ b/go.sum @@ -0,0 +1,3 @@ +github.com/patrickmn/go-cache v1.0.0 h1:3gD5McaYs9CxjyK5AXGcq8gdeCARtd/9gJDUvVeaZ0Y= +github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc= +github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=