Add loading message at startup 🚀

mine
Ludovico Russo 2020-02-22 12:22:05 +01:00
parent 0a85ee6706
commit 0660450aa4
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
package main
import (
"fmt"
"os"
"github.com/derailed/k9s/cmd"
@ -15,6 +16,7 @@ func init() {
}
func main() {
fmt.Printf("🚀 loading k9s...\n")
mod := os.O_CREATE | os.O_APPEND | os.O_WRONLY
file, err := os.OpenFile(config.K9sLogs, mod, config.DefaultFileMod)
if err != nil {