diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2019-02-10 22:11:51 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2019-02-13 22:40:18 -0500 |
commit | 4749df22d3415e961f550d4af6d660c8b77c4dd4 (patch) | |
tree | 338c3ddf63e081c4219e16fec6a2a5eb32fcfdee | |
parent | f81ca7beef48b350847e7942569b79bcee61d735 (diff) |
Go 1.11 modules are rad
-rw-r--r-- | fi-pacmanlog/main.go | 5 | ||||
-rw-r--r-- | fi-svntogit-to-aur/filter.go | 7 | ||||
-rw-r--r-- | go.mod | 6 | ||||
-rw-r--r-- | go.sum | 4 |
4 files changed, 17 insertions, 5 deletions
diff --git a/fi-pacmanlog/main.go b/fi-pacmanlog/main.go index ccc7b5d..4b70b2b 100644 --- a/fi-pacmanlog/main.go +++ b/fi-pacmanlog/main.go @@ -1,4 +1,4 @@ -// Copyright 2017 Luke Shumaker <lukeshu@parabola.nu> +// Copyright 2017, 2019 Luke Shumaker <lukeshu@parabola.nu> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -23,8 +23,9 @@ import ( "strings" "git.lukeshu.com/go/libfastimport" - "git.parabola.nu/fiutil" "github.com/pkg/errors" + + "git.parabola.nu/~lukeshu/fastimport-go-utils/fiutil" ) func abort(err error) { diff --git a/fi-svntogit-to-aur/filter.go b/fi-svntogit-to-aur/filter.go index 04e2a08..4225aa9 100644 --- a/fi-svntogit-to-aur/filter.go +++ b/fi-svntogit-to-aur/filter.go @@ -1,4 +1,4 @@ -// Copyright 2017 Luke Shumaker <lukeshu@parabola.nu> +// Copyright 2017, 2019 Luke Shumaker <lukeshu@parabola.nu> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by @@ -20,14 +20,15 @@ import ( "io" "io/ioutil" "os" - "path" "os/exec" + "path" "strconv" "strings" "git.lukeshu.com/go/libfastimport" "github.com/pkg/errors" - "git.parabola.nu/fiutil" + + "git.parabola.nu/~lukeshu/fastimport-go-utils/fiutil" ) type fullcommit struct { @@ -0,0 +1,6 @@ +module git.parabola.nu/~lukeshu/fastimport-go-utils + +require ( + git.lukeshu.com/go/libfastimport v0.0.0-20181226010550-269c4ee8ddb9 + github.com/pkg/errors v0.8.1 +) @@ -0,0 +1,4 @@ +git.lukeshu.com/go/libfastimport v0.0.0-20181226010550-269c4ee8ddb9 h1:qPN7pe/HD3SuJQHXEZJH7U2TB7ol+1/UnR1WXACRLs4= +git.lukeshu.com/go/libfastimport v0.0.0-20181226010550-269c4ee8ddb9/go.mod h1:7pGHRrQRRZQzG5nUjTYvpWoL7AWIlJmNEWWNwvu7J3I= +github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= |