Moved variables

This commit is contained in:
マリウス 2020-10-11 21:14:57 +01:00
parent 05f387b42a
commit 5181dbdf1a
No known key found for this signature in database
GPG key ID: C228EF0A530AF06F
2 changed files with 8 additions and 10 deletions

View file

@ -6,7 +6,14 @@ import (
"os" "os"
) )
var developer string var database *Database
var begin string
var finish string
var project string
var task string
var force bool
var rootCmd = &cobra.Command{ var rootCmd = &cobra.Command{
Use: "zeit", Use: "zeit",

View file

@ -1,19 +1,10 @@
package z package z
import ( import (
"fmt"
"log" "log"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )
var database *Database
var begin string
var finish string
var project string
var task string
var force bool
var trackCmd = &cobra.Command{ var trackCmd = &cobra.Command{
Use: "track", Use: "track",
Short: "Tracking time", Short: "Tracking time",