Run goimports
This commit is contained in:
parent
01c0f0a767
commit
60d120f7b3
@ -8,7 +8,7 @@ import (
|
||||
|
||||
var LivePrefixState struct {
|
||||
LivePrefix string
|
||||
IsEnable bool
|
||||
IsEnable bool
|
||||
}
|
||||
|
||||
func executor(in string) {
|
||||
@ -33,7 +33,7 @@ func completer(in prompt.Document) []prompt.Suggest {
|
||||
}
|
||||
|
||||
func changeLivePrefix() (string, bool) {
|
||||
return LivePrefixState.LivePrefix , LivePrefixState.IsEnable
|
||||
return LivePrefixState.LivePrefix, LivePrefixState.IsEnable
|
||||
}
|
||||
|
||||
func main() {
|
||||
@ -45,4 +45,4 @@ func main() {
|
||||
prompt.OptionTitle("live-prefix-example"),
|
||||
)
|
||||
p.Run()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user