summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.go b/main.go
index d684390..abfac93 100644
--- a/main.go
+++ b/main.go
@@ -9,8 +9,8 @@ import (
)
type EngardeConfig struct {
- inputFile string
- outputDir string
+ InputFile string
+ OutputDir string
Name string
Description string
Gender Gender
@@ -26,8 +26,8 @@ func usage() string {
}
func parseArgs() (config EngardeConfig, err error) {
- config.inputFile = os.Args[1]
- config.outputDir = os.Args[2]
+ config.InputFile = os.Args[1]
+ config.OutputDir = os.Args[2]
config.Name = os.Args[3]
if config.Gender, err = GenderFromString(os.Args[4]); err != nil {
@@ -57,12 +57,12 @@ func run() error {
return err
}
- cfg.Participants, cfg.Clubs, err = parseOphardtInput(cfg.inputFile)
+ cfg.Participants, cfg.Clubs, err = parseOphardtInput(cfg.InputFile)
if err != nil {
return err
}
- return write(cfg)
+ return Write(cfg)
}
func main() {
rs/cgit.git/commit/cgit.h?id=3a8432437934a0a95f2618b534b1f5b3494d6b18&follow=1'>Maŕk cgit_environment members constLukas Fleischer2-12/+12 2013-04-08Return const char * in cgit_{httpscheme, hosturl, rooturl}()Lukas Fleischer3-9/+9 2013-04-08Update git to v1.8.2.1John Keeping4-5/+6 2013-04-07ui-blob: don't segfault when no path is givenJohn Keeping1-1/+1 2013-03-20Convert pager navigation into a unordered listLukas Fleischer3-9/+20 2013-03-20Makefile: remove CGIT-CFLAGS files in clean stageJason A. Donenfeld1-1/+1 2013-03-20ui-summary.c: Move urls variable into print_urls()Lukas Fleischer1-6/+14 2013-03-20Fix colspan valuesLukas Fleischer3-14/+28 2013-03-20html: check return value of writeJason A. Donenfeld1-2/+3 2013-03-20ui-shared: squelch compiler warning.Jason A. Donenfeld1-0/+1 2013-03-20cgit.mk: Use SHELL_PATH_SQ to run gen-version.shJohn Keeping1-1/+1 2013-03-20cgit.mk: don't rebuild everything if CGIT_VERSION changesJohn Keeping1-1/+8 2013-03-20ui-patch: use cgit_version not CGIT_VERSIONJohn Keeping1-1/+1 2013-03-20Makefile: re-use Git's Makefile where possibleJohn Keeping3-119/+80