-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1347 from jehiah/nsqadmin_query_graphite_ephemera…
…l_topics_1347 nsqadmin: use go:embed; match graphite key valid charset
- Loading branch information
Showing
23 changed files
with
7,620 additions
and
89 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,6 +1,6 @@ | ||
module github.com/nsqio/nsq | ||
|
||
go 1.13 | ||
go 1.16 | ||
|
||
require ( | ||
github.com/BurntSushi/toml v0.3.1 | ||
|
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,15 @@ | ||
// +build go1.16 | ||
// +build !debug | ||
|
||
package nsqadmin | ||
|
||
import ( | ||
"embed" | ||
) | ||
|
||
//go:embed static/build | ||
var static embed.FS | ||
|
||
func staticAsset(name string) ([]byte, error) { | ||
return static.ReadFile("static/build/" + name) | ||
} |
Oops, something went wrong.