From 1473fcccebd05ad05311d44e64bb2f9e99409cac Mon Sep 17 00:00:00 2001 From: Qi Xiao Date: Thu, 28 Jan 2021 10:54:53 +0000 Subject: [PATCH] Make website/ its own Go module. This allows us to remove toml as a dependency of the src.elv.sh module since it is only used in the website's building process. --- go.mod | 1 - go.sum | 2 -- website/go.mod | 10 ++++++++++ website/go.sum | 13 +++++++++++++ 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 website/go.mod create mode 100644 website/go.sum diff --git a/go.mod b/go.mod index cc874cc8..923460d5 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,6 @@ module src.elv.sh require ( - github.com/BurntSushi/toml v0.3.1 github.com/creack/pty v1.1.11 github.com/mattn/go-isatty v0.0.12 github.com/xiaq/persistent v0.0.0-20200820214153-3175cfb92e14 diff --git a/go.sum b/go.sum index 373edbff..7552661d 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= diff --git a/website/go.mod b/website/go.mod new file mode 100644 index 00000000..bdd37914 --- /dev/null +++ b/website/go.mod @@ -0,0 +1,10 @@ +module src.elv.sh/website + +go 1.14 + +require ( + github.com/BurntSushi/toml v0.3.1 + src.elv.sh v0.0.0-00010101000000-000000000000 +) + +replace src.elv.sh => ../ diff --git a/website/go.sum b/website/go.sum new file mode 100644 index 00000000..11f62193 --- /dev/null +++ b/website/go.sum @@ -0,0 +1,13 @@ +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= +github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/xiaq/persistent v0.0.0-20200820214153-3175cfb92e14 h1:HxX+USVm4XyGwvWS0eJy+GMttkfSRdFcrZ46WtAs5RQ= +github.com/xiaq/persistent v0.0.0-20200820214153-3175cfb92e14/go.mod h1:ezTJjR1ZWIJvN9QAd79tCd/TO4X3x7FDbLMEGHOI1LA= +go.etcd.io/bbolt v1.3.5 h1:XAzx9gjCb0Rxj7EoqcClPD1d5ZBxZJk0jbuoPHenBt0= +go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= +golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8 h1:AvbQYmiaaaza3cW3QXRyPo5kYgpFIzOAfeAAN7m3qQ4= +golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=