add issue_template

Former-commit-id: 78a13fa6e9
This commit is contained in:
Henrique Dias 2017-01-14 16:36:40 +00:00
parent a1be42825b
commit 472d6e88b9
4 changed files with 28 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
binary.go
debug
version.go

20
ISSUE_TEMPLATE Normal file
View File

@ -0,0 +1,20 @@
(Are you asking for help with using Caddy or File Manager? Please use our forum instead: https://forum.caddyserver.com. If you are filing a bug report, please answer the following questions. If your issue is not a bug report, you do not need to use this template.)
### 1. Which revision of File Manager are you running (check the footer on any page)?
### 2. What are you trying to do?
### 3. What is your entire Caddyfile?
```text
(Put Caddyfile here)
```
### 4. What did you expect to see?
### 5. What did you see instead (give full error messages and/or log)?
### 6. How can someone who is starting from scratch reproduce this behavior as minimally as possible?

View File

@ -1,6 +1,7 @@
//go:generate go get github.com/jteeuwen/go-bindata
//go:generate go install github.com/jteeuwen/go-bindata/go-bindata
//go:generate go get github.com/bountylabs/gitversion
//go:generate go-bindata -pkg assets -prefix "_embed" -o assets/binary.go _embed/...
//go:generate gitversion -o page/version.go -p page
// Package filemanager provides middleware for managing files in a directory
// when directory path is requested instead of a specific file. Based on browse

View File

@ -34,6 +34,11 @@ type Info struct {
Token string
}
// Commit returns the current build commit
func (i *Info) Commit() string {
return GIT_COMMIT_HASH
}
// BreadcrumbMapItem ...
type BreadcrumbMapItem struct {
Name string