aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-21 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-21 20:20:20 +0100
commit08430a42aa1cf9eff49b8015329ef8a112a5d0e5 (patch)
tree0840bc47a042b8c46b04c9caac3bcd85171051a3 /c_hardflip.go
parentfix (diff)
downloadhardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.gz
hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.bz2
hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.xz
hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.tar.zst
hardflip-08430a42aa1cf9eff49b8015329ef8a112a5d0e5.zip
tmp
Diffstat (limited to '')
-rw-r--r--c_hardflip.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/c_hardflip.go b/c_hardflip.go
index c3e871a..81c8a2e 100644
--- a/c_hardflip.go
+++ b/c_hardflip.go
@@ -50,7 +50,7 @@ package main
// the main data structure, holds up everything important
type HardData struct {
lhost *HostList
- // dirs *DirList
+ ldirs *DirList
ui HardUI
opts HardOpts
data_dir string
@@ -58,11 +58,14 @@ type HardData struct {
func main() {
data_dir := c_get_data_dir()
+ lhosts, ldirs := c_load_data_dir(data_dir)
data := HardData{
- c_load_data_dir(data_dir),
+ lhosts,
+ ldirs,
HardUI{},
HardOpts{true, true},
data_dir,
}
+
i_ui(&data)
}