diff --git a/_example/live-prefix/main.go b/_example/live-prefix/main.go index 6d30251..ed46295 100644 --- a/_example/live-prefix/main.go +++ b/_example/live-prefix/main.go @@ -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() -} \ No newline at end of file +}