go fmt
This commit is contained in:
parent
32077534c7
commit
19068d048d
2 changed files with 10 additions and 10 deletions
4
admin.go
4
admin.go
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
type settingsData struct {
|
||||
S Status
|
||||
S Status
|
||||
}
|
||||
|
||||
func settingsHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
@ -169,7 +169,7 @@ func newHandler(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
if len(r.URL.Path) > len("/new/") {
|
||||
http.ServeFile(w, r, NEW_PATH + r.URL.Path[len("/new/"):])
|
||||
http.ServeFile(w, r, NEW_PATH+r.URL.Path[len("/new/"):])
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue