diff options
author | Joe <rbo@gmx.us> | 2023-12-26 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-26 20:20:20 +0100 |
commit | da0196ddaeb1de894efbb12c86a7741d3ba1e856 (patch) | |
tree | cad0936e7794609bcdd8cb75a8745488a47313d7 /c_hardflip.go | |
parent | must rewrite inti (diff) | |
download | hardflip-da0196ddaeb1de894efbb12c86a7741d3ba1e856.tar.gz hardflip-da0196ddaeb1de894efbb12c86a7741d3ba1e856.tar.bz2 hardflip-da0196ddaeb1de894efbb12c86a7741d3ba1e856.tar.xz hardflip-da0196ddaeb1de894efbb12c86a7741d3ba1e856.tar.zst hardflip-da0196ddaeb1de894efbb12c86a7741d3ba1e856.zip |
its fucked
Diffstat (limited to '')
-rw-r--r-- | c_hardflip.go | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/c_hardflip.go b/c_hardflip.go index 3243a3c..b0dcfeb 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -39,7 +39,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/c_hardflip.go - * Thu Dec 21 18:12:49 2023 + * Tue Dec 26 11:11:55 2023 * Joe * * the main @@ -47,25 +47,26 @@ package main +import "fmt" + // the main data structure, holds up everything important type HardData struct { - lhost *HostList ldirs *DirsList - ui HardUI + // ui HardUI opts HardOpts data_dir string } func main() { data_dir := c_get_data_dir() - lhosts, ldirs := c_load_data_dir(data_dir) + ldirs := c_load_data_dir(data_dir) data := HardData{ - lhosts, ldirs, - HardUI{}, + // HardUI{}, HardOpts{true, true}, data_dir, } - i_ui(&data) + fmt.Println(data) + // i_ui(&data) } |