config.go - staticgit - A git static site generator in GO with HTML output!
 (HTM) git clone git://jay.scot/staticgit
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       config.go (251B)
       ---
            1 package config
            2 
            3 import (
            4         "strings"
            5 )
            6 
            7 type Config struct {
            8         RepoDir    string
            9         IgnoreDirs []string
           10         OutDir     string
           11         MaxCommits int
           12 }
           13 
           14 func parseIgnoreList(dirs string) []string {
           15         if dirs == "" {
           16                 return nil
           17         }
           18         return strings.Split(dirs, ",")
           19 }