this needs to be fixed
This commit is contained in:
parent
e9352172ac
commit
f8963c7563
|
@ -11,7 +11,7 @@ import (
|
|||
"go.wit.com/log"
|
||||
)
|
||||
|
||||
func dumpVersions(view *repolist.RepoList) {
|
||||
func DumpVersions(view *repolist.RepoList) {
|
||||
f, _ := os.OpenFile("/tmp/go.wit.com.versions", os.O_WRONLY|os.O_CREATE, 0600)
|
||||
defer f.Close()
|
||||
for _, sec := range allsections {
|
||||
|
|
|
@ -86,7 +86,7 @@ func ListWindow(view *repolist.RepoList) *gadgets.BasicWindow {
|
|||
box := lw.Box()
|
||||
group := box.NewGroup("list")
|
||||
group.NewButton("make new go version list", func() {
|
||||
dumpVersions(view)
|
||||
DumpVersions(view)
|
||||
})
|
||||
|
||||
var lines []string
|
||||
|
|
Loading…
Reference in New Issue