-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The go-bindata fork was having some issues with go mod tidy.
- Loading branch information
Showing
9 changed files
with
300 additions
and
1,390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
module github.com/wfscheper/xkcdpwd | ||
|
||
go 1.13 | ||
|
||
require ( | ||
github.com/golangci/golangci-lint v1.18.0 // indirect | ||
github.com/magefile/mage v1.4.0 | ||
github.com/golangci/golangci-lint v1.18.0 | ||
github.com/magefile/mage v1.9.0 | ||
github.com/mattn/goveralls v0.0.2 | ||
github.com/pelletier/go-toml v1.2.0 | ||
github.com/shuLhan/go-bindata v3.4.0+incompatible | ||
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7 | ||
golang.org/x/text v0.3.0 | ||
github.com/pborman/uuid v1.2.0 // indirect | ||
github.com/pelletier/go-toml v1.4.0 | ||
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect | ||
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd // indirect | ||
golang.org/x/text v0.3.2 | ||
) | ||
|
||
go 1.13 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// +build dev | ||
|
||
package langs | ||
|
||
import "net/http" | ||
|
||
var Languages http.FileSystem = http.Dir("languages") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// +build ignore | ||
|
||
package main | ||
|
||
import ( | ||
"log" | ||
|
||
"github.com/shurcooL/vfsgen" | ||
"github.com/wfscheper/xkcdpwd/internal/langs" | ||
) | ||
|
||
func main() { | ||
err := vfsgen.Generate(langs.Languages, vfsgen.Options{ | ||
PackageName: "langs", | ||
BuildTags: "!dev", | ||
VariableName: "Languages", | ||
}) | ||
if err != nil { | ||
log.Fatalln(err) | ||
} | ||
|
||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters