Compare commits

..

No commits in common. "761e38fd8ef64235da3f0614a615c2ea75056ba7" and "a7fab72a1e26dbf33aec6e51d42cf817773c8e7f" have entirely different histories.

3 changed files with 2 additions and 17 deletions

View File

@ -13,7 +13,7 @@ import (
"time"
)
const defaultUserAgent = "lifx-go"
const defaultUserAgent = "go-lifx"
type (
Client struct {

View File

@ -6,17 +6,14 @@ import (
"fmt"
"os"
"path"
"strings"
lifx "git.kill0.net/chill9/lume"
"github.com/BurntSushi/toml"
)
var userAgent string
const userAgent = "lume"
func init() {
userAgent = initUserAgent()
RegisterCommand("help", Command{
Func: HelpCmd,
Flags: func() *flag.FlagSet {
@ -277,12 +274,3 @@ func getConfigPath() string {
return configPath
}
func initUserAgent() string {
var b strings.Builder
b.WriteString("lume")
b.WriteRune('/')
b.WriteString(Version)
return b.String()
}

View File

@ -1,3 +0,0 @@
package lumecmd
const Version = "0.1.0"