mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-31 11:44:34 +01:00
cleanup template remainings.
This commit is contained in:
7
main.go
7
main.go
@@ -5,7 +5,6 @@ import (
|
||||
"embed"
|
||||
"net/http"
|
||||
"os"
|
||||
"text/template"
|
||||
"time"
|
||||
|
||||
"github.com/kelseyhightower/envconfig"
|
||||
@@ -26,10 +25,8 @@ var static embed.FS
|
||||
var templates embed.FS
|
||||
|
||||
var (
|
||||
s Settings
|
||||
tmpls *template.Template
|
||||
templateMapping map[string]string
|
||||
log = zerolog.New(os.Stderr).Output(zerolog.ConsoleWriter{Out: os.Stdout}).With().Timestamp().Logger()
|
||||
s Settings
|
||||
log = zerolog.New(os.Stderr).Output(zerolog.ConsoleWriter{Out: os.Stdout}).With().Timestamp().Logger()
|
||||
)
|
||||
|
||||
func updateArchives(ctx context.Context) {
|
||||
|
||||
Reference in New Issue
Block a user