From 09744748af07f78eacd5a49796216a7fc16845ae Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 4 Apr 2017 01:22:17 +0200 Subject: read and write index file --- main.go | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 main.go (limited to 'main.go') diff --git a/main.go b/main.go new file mode 100644 index 0000000..153fdb9 --- /dev/null +++ b/main.go @@ -0,0 +1,28 @@ +/******************************************************************************* +* +* Copyright 2015 Stefan Majewsky +* +* This file is part of Holo. +* +* Holo is free software: you can redistribute it and/or modify it under the +* terms of the GNU General Public License as published by the Free Software +* Foundation, either version 3 of the License, or (at your option) any later +* version. +* +* Holo is distributed in the hope that it will be useful, but WITHOUT ANY +* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +* A PARTICULAR PURPOSE. See the GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License along with +* Holo. If not, see . +* +*******************************************************************************/ + +package main + +import "fmt" + +func main() { + fmt.Println("WARNING: unfinished") + ReadIndex().Write() +} -- cgit v1.3.1