go fmt
This commit is contained in:
@@ -84,7 +84,7 @@ var (
|
||||
store passgo.Store
|
||||
reload chan struct{}
|
||||
updated chan struct{}
|
||||
chdir chan struct{}
|
||||
chdir chan struct{}
|
||||
passch chan []byte
|
||||
)
|
||||
|
||||
@@ -223,7 +223,7 @@ func eventLoop() {
|
||||
log(Info, err)
|
||||
return
|
||||
}
|
||||
for i,n := range ids {
|
||||
for i, n := range ids {
|
||||
if i >= len(idBtns) {
|
||||
idBtns = append(idBtns, &Button{
|
||||
Face: face,
|
||||
@@ -443,7 +443,7 @@ func eventLoop() {
|
||||
c2 := flex.End(idLabel.Layout(ops, cs))
|
||||
var c3 layout.FlexChild
|
||||
//if len(idBtns) == 0 {
|
||||
updateIdBtns()
|
||||
updateIdBtns()
|
||||
//}
|
||||
cs = flex.Rigid()
|
||||
if len(idBtns) == 0 { // still zero after update
|
||||
@@ -496,7 +496,7 @@ func eventLoop() {
|
||||
insValue = passvalEd.Text()
|
||||
for _, n := range pathnames {
|
||||
if insName == n {
|
||||
log(Info,"Password exists")
|
||||
log(Info, "Password exists")
|
||||
page = confirmPage
|
||||
w.Invalidate()
|
||||
return
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ func main() {
|
||||
if opts.clip {
|
||||
passgo.Clip(p)
|
||||
} else {
|
||||
fmt.Print(p)
|
||||
fmt.Println(p)
|
||||
}
|
||||
default:
|
||||
usage()
|
||||
|
||||
Reference in New Issue
Block a user