Fixed timestamp formatting

This commit is contained in:
Seednode 2022-09-11 20:48:52 -05:00
parent 67299a2808
commit 3febbedacc
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )
var Version = "0.5.1" var Version = "0.5.2"
func init() { func init() {
rootCmd.AddCommand(versionCmd) rootCmd.AddCommand(versionCmd)

View File

@ -109,7 +109,7 @@ func serveStaticFile(w http.ResponseWriter, r http.Request, paths []string) erro
w.Write(buf) w.Write(buf)
if Verbose { if Verbose {
fmt.Printf("- Finished in %v\n", time.Now().Sub(startTime).Round(time.Microsecond)) fmt.Printf(" (Finished in %v)\n", time.Now().Sub(startTime).Round(time.Microsecond))
} }
return nil return nil