Executed go fmt for all files

This commit is contained in:
Thomas Boerger 2016-11-04 12:23:03 +01:00
parent ba4d255635
commit e05a5ca36c
No known key found for this signature in database
GPG key ID: 5A388F55283960B6
2 changed files with 708 additions and 929 deletions

View file

@ -230,11 +230,11 @@ import (
"compress/gzip" "compress/gzip"
"fmt" "fmt"
"io" "io"
"strings"
"os"
"time"
"io/ioutil" "io/ioutil"
"os"
"path/filepath" "path/filepath"
"strings"
"time"
) )
func bindataRead(data []byte, name string) ([]byte, error) { func bindataRead(data []byte, name string) ([]byte, error) {
@ -4727,7 +4727,7 @@ func Asset(name string) ([]byte, error) {
// It simplifies safe initialization of global variables. // It simplifies safe initialization of global variables.
func MustAsset(name string) []byte { func MustAsset(name string) []byte {
a, err := Asset(name) a, err := Asset(name)
if (err != nil) { if err != nil {
panic("asset: Asset(" + name + "): " + err.Error()) panic("asset: Asset(" + name + "): " + err.Error())
} }
@ -5022,459 +5022,239 @@ type bintree struct {
Func func() (*asset, error) Func func() (*asset, error)
Children map[string]*bintree Children map[string]*bintree
} }
var _bintree = &bintree{nil, map[string]*bintree{ var _bintree = &bintree{nil, map[string]*bintree{
"conf": &bintree{nil, map[string]*bintree{ "conf": &bintree{nil, map[string]*bintree{
"app.ini": &bintree{confAppIni, map[string]*bintree{ "app.ini": &bintree{confAppIni, map[string]*bintree{}},
}},
"gitignore": &bintree{nil, map[string]*bintree{ "gitignore": &bintree{nil, map[string]*bintree{
"Actionscript": &bintree{confGitignoreActionscript, map[string]*bintree{ "Actionscript": &bintree{confGitignoreActionscript, map[string]*bintree{}},
}}, "Ada": &bintree{confGitignoreAda, map[string]*bintree{}},
"Ada": &bintree{confGitignoreAda, map[string]*bintree{ "Agda": &bintree{confGitignoreAgda, map[string]*bintree{}},
}}, "Android": &bintree{confGitignoreAndroid, map[string]*bintree{}},
"Agda": &bintree{confGitignoreAgda, map[string]*bintree{ "Anjuta": &bintree{confGitignoreAnjuta, map[string]*bintree{}},
}}, "AppEngine": &bintree{confGitignoreAppengine, map[string]*bintree{}},
"Android": &bintree{confGitignoreAndroid, map[string]*bintree{ "AppceleratorTitanium": &bintree{confGitignoreAppceleratortitanium, map[string]*bintree{}},
}}, "ArchLinuxPackages": &bintree{confGitignoreArchlinuxpackages, map[string]*bintree{}},
"Anjuta": &bintree{confGitignoreAnjuta, map[string]*bintree{ "Archives": &bintree{confGitignoreArchives, map[string]*bintree{}},
}}, "Autotools": &bintree{confGitignoreAutotools, map[string]*bintree{}},
"AppEngine": &bintree{confGitignoreAppengine, map[string]*bintree{ "BricxCC": &bintree{confGitignoreBricxcc, map[string]*bintree{}},
}}, "C": &bintree{confGitignoreC, map[string]*bintree{}},
"AppceleratorTitanium": &bintree{confGitignoreAppceleratortitanium, map[string]*bintree{ "C Sharp": &bintree{confGitignoreCSharp, map[string]*bintree{}},
}}, "C++": &bintree{confGitignoreC2, map[string]*bintree{}},
"ArchLinuxPackages": &bintree{confGitignoreArchlinuxpackages, map[string]*bintree{ "CFWheels": &bintree{confGitignoreCfwheels, map[string]*bintree{}},
}}, "CMake": &bintree{confGitignoreCmake, map[string]*bintree{}},
"Archives": &bintree{confGitignoreArchives, map[string]*bintree{ "CUDA": &bintree{confGitignoreCuda, map[string]*bintree{}},
}}, "CVS": &bintree{confGitignoreCvs, map[string]*bintree{}},
"Autotools": &bintree{confGitignoreAutotools, map[string]*bintree{ "CakePHP": &bintree{confGitignoreCakephp, map[string]*bintree{}},
}}, "ChefCookbook": &bintree{confGitignoreChefcookbook, map[string]*bintree{}},
"BricxCC": &bintree{confGitignoreBricxcc, map[string]*bintree{ "Cloud9": &bintree{confGitignoreCloud9, map[string]*bintree{}},
}}, "CodeIgniter": &bintree{confGitignoreCodeigniter, map[string]*bintree{}},
"C": &bintree{confGitignoreC, map[string]*bintree{ "CodeKit": &bintree{confGitignoreCodekit, map[string]*bintree{}},
}}, "CommonLisp": &bintree{confGitignoreCommonlisp, map[string]*bintree{}},
"C Sharp": &bintree{confGitignoreCSharp, map[string]*bintree{ "Composer": &bintree{confGitignoreComposer, map[string]*bintree{}},
}}, "Concrete5": &bintree{confGitignoreConcrete5, map[string]*bintree{}},
"C++": &bintree{confGitignoreC2, map[string]*bintree{ "Coq": &bintree{confGitignoreCoq, map[string]*bintree{}},
}}, "CraftCMS": &bintree{confGitignoreCraftcms, map[string]*bintree{}},
"CFWheels": &bintree{confGitignoreCfwheels, map[string]*bintree{ "DM": &bintree{confGitignoreDm, map[string]*bintree{}},
}}, "Dart": &bintree{confGitignoreDart, map[string]*bintree{}},
"CMake": &bintree{confGitignoreCmake, map[string]*bintree{ "DartEditor": &bintree{confGitignoreDarteditor, map[string]*bintree{}},
}}, "Delphi": &bintree{confGitignoreDelphi, map[string]*bintree{}},
"CUDA": &bintree{confGitignoreCuda, map[string]*bintree{ "Dreamweaver": &bintree{confGitignoreDreamweaver, map[string]*bintree{}},
}}, "Drupal": &bintree{confGitignoreDrupal, map[string]*bintree{}},
"CVS": &bintree{confGitignoreCvs, map[string]*bintree{ "EPiServer": &bintree{confGitignoreEpiserver, map[string]*bintree{}},
}}, "Eagle": &bintree{confGitignoreEagle, map[string]*bintree{}},
"CakePHP": &bintree{confGitignoreCakephp, map[string]*bintree{ "Eclipse": &bintree{confGitignoreEclipse, map[string]*bintree{}},
}}, "EiffelStudio": &bintree{confGitignoreEiffelstudio, map[string]*bintree{}},
"ChefCookbook": &bintree{confGitignoreChefcookbook, map[string]*bintree{ "Elisp": &bintree{confGitignoreElisp, map[string]*bintree{}},
}}, "Elixir": &bintree{confGitignoreElixir, map[string]*bintree{}},
"Cloud9": &bintree{confGitignoreCloud9, map[string]*bintree{ "Emacs": &bintree{confGitignoreEmacs, map[string]*bintree{}},
}}, "Ensime": &bintree{confGitignoreEnsime, map[string]*bintree{}},
"CodeIgniter": &bintree{confGitignoreCodeigniter, map[string]*bintree{ "Erlang": &bintree{confGitignoreErlang, map[string]*bintree{}},
}}, "Espresso": &bintree{confGitignoreEspresso, map[string]*bintree{}},
"CodeKit": &bintree{confGitignoreCodekit, map[string]*bintree{ "ExpressionEngine": &bintree{confGitignoreExpressionengine, map[string]*bintree{}},
}}, "ExtJs": &bintree{confGitignoreExtjs, map[string]*bintree{}},
"CommonLisp": &bintree{confGitignoreCommonlisp, map[string]*bintree{ "Fancy": &bintree{confGitignoreFancy, map[string]*bintree{}},
}}, "Finale": &bintree{confGitignoreFinale, map[string]*bintree{}},
"Composer": &bintree{confGitignoreComposer, map[string]*bintree{ "FlexBuilder": &bintree{confGitignoreFlexbuilder, map[string]*bintree{}},
}}, "ForceDotCom": &bintree{confGitignoreForcedotcom, map[string]*bintree{}},
"Concrete5": &bintree{confGitignoreConcrete5, map[string]*bintree{ "FuelPHP": &bintree{confGitignoreFuelphp, map[string]*bintree{}},
}}, "GWT": &bintree{confGitignoreGwt, map[string]*bintree{}},
"Coq": &bintree{confGitignoreCoq, map[string]*bintree{ "Gcov": &bintree{confGitignoreGcov, map[string]*bintree{}},
}}, "GitBook": &bintree{confGitignoreGitbook, map[string]*bintree{}},
"CraftCMS": &bintree{confGitignoreCraftcms, map[string]*bintree{ "Go": &bintree{confGitignoreGo, map[string]*bintree{}},
}}, "Gradle": &bintree{confGitignoreGradle, map[string]*bintree{}},
"DM": &bintree{confGitignoreDm, map[string]*bintree{ "Grails": &bintree{confGitignoreGrails, map[string]*bintree{}},
}}, "Haskell": &bintree{confGitignoreHaskell, map[string]*bintree{}},
"Dart": &bintree{confGitignoreDart, map[string]*bintree{ "IGORPro": &bintree{confGitignoreIgorpro, map[string]*bintree{}},
}}, "IPythonNotebook": &bintree{confGitignoreIpythonnotebook, map[string]*bintree{}},
"DartEditor": &bintree{confGitignoreDarteditor, map[string]*bintree{ "Idris": &bintree{confGitignoreIdris, map[string]*bintree{}},
}}, "JDeveloper": &bintree{confGitignoreJdeveloper, map[string]*bintree{}},
"Delphi": &bintree{confGitignoreDelphi, map[string]*bintree{ "Java": &bintree{confGitignoreJava, map[string]*bintree{}},
}}, "Jboss": &bintree{confGitignoreJboss, map[string]*bintree{}},
"Dreamweaver": &bintree{confGitignoreDreamweaver, map[string]*bintree{ "Jekyll": &bintree{confGitignoreJekyll, map[string]*bintree{}},
}}, "JetBrains": &bintree{confGitignoreJetbrains, map[string]*bintree{}},
"Drupal": &bintree{confGitignoreDrupal, map[string]*bintree{ "Joomla": &bintree{confGitignoreJoomla, map[string]*bintree{}},
}}, "KDevelop4": &bintree{confGitignoreKdevelop4, map[string]*bintree{}},
"EPiServer": &bintree{confGitignoreEpiserver, map[string]*bintree{ "Kate": &bintree{confGitignoreKate, map[string]*bintree{}},
}}, "KiCAD": &bintree{confGitignoreKicad, map[string]*bintree{}},
"Eagle": &bintree{confGitignoreEagle, map[string]*bintree{ "Kohana": &bintree{confGitignoreKohana, map[string]*bintree{}},
}}, "LabVIEW": &bintree{confGitignoreLabview, map[string]*bintree{}},
"Eclipse": &bintree{confGitignoreEclipse, map[string]*bintree{ "Laravel": &bintree{confGitignoreLaravel, map[string]*bintree{}},
}}, "Lazarus": &bintree{confGitignoreLazarus, map[string]*bintree{}},
"EiffelStudio": &bintree{confGitignoreEiffelstudio, map[string]*bintree{ "Leiningen": &bintree{confGitignoreLeiningen, map[string]*bintree{}},
}}, "LemonStand": &bintree{confGitignoreLemonstand, map[string]*bintree{}},
"Elisp": &bintree{confGitignoreElisp, map[string]*bintree{ "LibreOffice": &bintree{confGitignoreLibreoffice, map[string]*bintree{}},
}}, "Lilypond": &bintree{confGitignoreLilypond, map[string]*bintree{}},
"Elixir": &bintree{confGitignoreElixir, map[string]*bintree{ "Linux": &bintree{confGitignoreLinux, map[string]*bintree{}},
}}, "Lithium": &bintree{confGitignoreLithium, map[string]*bintree{}},
"Emacs": &bintree{confGitignoreEmacs, map[string]*bintree{ "Lua": &bintree{confGitignoreLua, map[string]*bintree{}},
}}, "LyX": &bintree{confGitignoreLyx, map[string]*bintree{}},
"Ensime": &bintree{confGitignoreEnsime, map[string]*bintree{ "Magento": &bintree{confGitignoreMagento, map[string]*bintree{}},
}}, "Matlab": &bintree{confGitignoreMatlab, map[string]*bintree{}},
"Erlang": &bintree{confGitignoreErlang, map[string]*bintree{ "Maven": &bintree{confGitignoreMaven, map[string]*bintree{}},
}}, "Mercurial": &bintree{confGitignoreMercurial, map[string]*bintree{}},
"Espresso": &bintree{confGitignoreEspresso, map[string]*bintree{ "Mercury": &bintree{confGitignoreMercury, map[string]*bintree{}},
}}, "MetaProgrammingSystem": &bintree{confGitignoreMetaprogrammingsystem, map[string]*bintree{}},
"ExpressionEngine": &bintree{confGitignoreExpressionengine, map[string]*bintree{ "MicrosoftOffice": &bintree{confGitignoreMicrosoftoffice, map[string]*bintree{}},
}}, "ModelSim": &bintree{confGitignoreModelsim, map[string]*bintree{}},
"ExtJs": &bintree{confGitignoreExtjs, map[string]*bintree{ "Momentics": &bintree{confGitignoreMomentics, map[string]*bintree{}},
}}, "MonoDevelop": &bintree{confGitignoreMonodevelop, map[string]*bintree{}},
"Fancy": &bintree{confGitignoreFancy, map[string]*bintree{ "Nanoc": &bintree{confGitignoreNanoc, map[string]*bintree{}},
}}, "NetBeans": &bintree{confGitignoreNetbeans, map[string]*bintree{}},
"Finale": &bintree{confGitignoreFinale, map[string]*bintree{ "Nim": &bintree{confGitignoreNim, map[string]*bintree{}},
}}, "Ninja": &bintree{confGitignoreNinja, map[string]*bintree{}},
"FlexBuilder": &bintree{confGitignoreFlexbuilder, map[string]*bintree{ "Node": &bintree{confGitignoreNode, map[string]*bintree{}},
}}, "NotepadPP": &bintree{confGitignoreNotepadpp, map[string]*bintree{}},
"ForceDotCom": &bintree{confGitignoreForcedotcom, map[string]*bintree{ "OCaml": &bintree{confGitignoreOcaml, map[string]*bintree{}},
}}, "OSX": &bintree{confGitignoreOsx, map[string]*bintree{}},
"FuelPHP": &bintree{confGitignoreFuelphp, map[string]*bintree{ "Objective-C": &bintree{confGitignoreObjectiveC, map[string]*bintree{}},
}}, "Opa": &bintree{confGitignoreOpa, map[string]*bintree{}},
"GWT": &bintree{confGitignoreGwt, map[string]*bintree{ "OpenCart": &bintree{confGitignoreOpencart, map[string]*bintree{}},
}}, "OracleForms": &bintree{confGitignoreOracleforms, map[string]*bintree{}},
"Gcov": &bintree{confGitignoreGcov, map[string]*bintree{ "Packer": &bintree{confGitignorePacker, map[string]*bintree{}},
}}, "Perl": &bintree{confGitignorePerl, map[string]*bintree{}},
"GitBook": &bintree{confGitignoreGitbook, map[string]*bintree{ "Phalcon": &bintree{confGitignorePhalcon, map[string]*bintree{}},
}}, "PlayFramework": &bintree{confGitignorePlayframework, map[string]*bintree{}},
"Go": &bintree{confGitignoreGo, map[string]*bintree{ "Plone": &bintree{confGitignorePlone, map[string]*bintree{}},
}}, "Prestashop": &bintree{confGitignorePrestashop, map[string]*bintree{}},
"Gradle": &bintree{confGitignoreGradle, map[string]*bintree{ "Processing": &bintree{confGitignoreProcessing, map[string]*bintree{}},
}}, "Python": &bintree{confGitignorePython, map[string]*bintree{}},
"Grails": &bintree{confGitignoreGrails, map[string]*bintree{ "Qooxdoo": &bintree{confGitignoreQooxdoo, map[string]*bintree{}},
}}, "Qt": &bintree{confGitignoreQt, map[string]*bintree{}},
"Haskell": &bintree{confGitignoreHaskell, map[string]*bintree{ "R": &bintree{confGitignoreR, map[string]*bintree{}},
}}, "ROS": &bintree{confGitignoreRos, map[string]*bintree{}},
"IGORPro": &bintree{confGitignoreIgorpro, map[string]*bintree{ "Rails": &bintree{confGitignoreRails, map[string]*bintree{}},
}}, "Redcar": &bintree{confGitignoreRedcar, map[string]*bintree{}},
"IPythonNotebook": &bintree{confGitignoreIpythonnotebook, map[string]*bintree{ "Redis": &bintree{confGitignoreRedis, map[string]*bintree{}},
}}, "RhodesRhomobile": &bintree{confGitignoreRhodesrhomobile, map[string]*bintree{}},
"Idris": &bintree{confGitignoreIdris, map[string]*bintree{ "Ruby": &bintree{confGitignoreRuby, map[string]*bintree{}},
}}, "Rust": &bintree{confGitignoreRust, map[string]*bintree{}},
"JDeveloper": &bintree{confGitignoreJdeveloper, map[string]*bintree{ "SBT": &bintree{confGitignoreSbt, map[string]*bintree{}},
}}, "SCons": &bintree{confGitignoreScons, map[string]*bintree{}},
"Java": &bintree{confGitignoreJava, map[string]*bintree{ "SVN": &bintree{confGitignoreSvn, map[string]*bintree{}},
}}, "Sass": &bintree{confGitignoreSass, map[string]*bintree{}},
"Jboss": &bintree{confGitignoreJboss, map[string]*bintree{ "Scala": &bintree{confGitignoreScala, map[string]*bintree{}},
}}, "Scrivener": &bintree{confGitignoreScrivener, map[string]*bintree{}},
"Jekyll": &bintree{confGitignoreJekyll, map[string]*bintree{ "Sdcc": &bintree{confGitignoreSdcc, map[string]*bintree{}},
}}, "SeamGen": &bintree{confGitignoreSeamgen, map[string]*bintree{}},
"JetBrains": &bintree{confGitignoreJetbrains, map[string]*bintree{ "SketchUp": &bintree{confGitignoreSketchup, map[string]*bintree{}},
}}, "SlickEdit": &bintree{confGitignoreSlickedit, map[string]*bintree{}},
"Joomla": &bintree{confGitignoreJoomla, map[string]*bintree{ "Stella": &bintree{confGitignoreStella, map[string]*bintree{}},
}}, "SublimeText": &bintree{confGitignoreSublimetext, map[string]*bintree{}},
"KDevelop4": &bintree{confGitignoreKdevelop4, map[string]*bintree{ "SugarCRM": &bintree{confGitignoreSugarcrm, map[string]*bintree{}},
}}, "Swift": &bintree{confGitignoreSwift, map[string]*bintree{}},
"Kate": &bintree{confGitignoreKate, map[string]*bintree{ "Symfony": &bintree{confGitignoreSymfony, map[string]*bintree{}},
}}, "SymphonyCMS": &bintree{confGitignoreSymphonycms, map[string]*bintree{}},
"KiCAD": &bintree{confGitignoreKicad, map[string]*bintree{ "SynopsysVCS": &bintree{confGitignoreSynopsysvcs, map[string]*bintree{}},
}}, "Tags": &bintree{confGitignoreTags, map[string]*bintree{}},
"Kohana": &bintree{confGitignoreKohana, map[string]*bintree{ "TeX": &bintree{confGitignoreTex, map[string]*bintree{}},
}}, "TextMate": &bintree{confGitignoreTextmate, map[string]*bintree{}},
"LabVIEW": &bintree{confGitignoreLabview, map[string]*bintree{ "Textpattern": &bintree{confGitignoreTextpattern, map[string]*bintree{}},
}}, "TortoiseGit": &bintree{confGitignoreTortoisegit, map[string]*bintree{}},
"Laravel": &bintree{confGitignoreLaravel, map[string]*bintree{ "TurboGears2": &bintree{confGitignoreTurbogears2, map[string]*bintree{}},
}}, "Typo3": &bintree{confGitignoreTypo3, map[string]*bintree{}},
"Lazarus": &bintree{confGitignoreLazarus, map[string]*bintree{ "Umbraco": &bintree{confGitignoreUmbraco, map[string]*bintree{}},
}}, "Unity": &bintree{confGitignoreUnity, map[string]*bintree{}},
"Leiningen": &bintree{confGitignoreLeiningen, map[string]*bintree{ "VVVV": &bintree{confGitignoreVvvv, map[string]*bintree{}},
}}, "Vagrant": &bintree{confGitignoreVagrant, map[string]*bintree{}},
"LemonStand": &bintree{confGitignoreLemonstand, map[string]*bintree{ "Vim": &bintree{confGitignoreVim, map[string]*bintree{}},
}}, "VirtualEnv": &bintree{confGitignoreVirtualenv, map[string]*bintree{}},
"LibreOffice": &bintree{confGitignoreLibreoffice, map[string]*bintree{ "VisualStudio": &bintree{confGitignoreVisualstudio, map[string]*bintree{}},
}}, "VisualStudioCode": &bintree{confGitignoreVisualstudiocode, map[string]*bintree{}},
"Lilypond": &bintree{confGitignoreLilypond, map[string]*bintree{ "Waf": &bintree{confGitignoreWaf, map[string]*bintree{}},
}}, "WebMethods": &bintree{confGitignoreWebmethods, map[string]*bintree{}},
"Linux": &bintree{confGitignoreLinux, map[string]*bintree{ "Windows": &bintree{confGitignoreWindows, map[string]*bintree{}},
}}, "WordPress": &bintree{confGitignoreWordpress, map[string]*bintree{}},
"Lithium": &bintree{confGitignoreLithium, map[string]*bintree{ "Xcode": &bintree{confGitignoreXcode, map[string]*bintree{}},
}}, "XilinxISE": &bintree{confGitignoreXilinxise, map[string]*bintree{}},
"Lua": &bintree{confGitignoreLua, map[string]*bintree{ "Xojo": &bintree{confGitignoreXojo, map[string]*bintree{}},
}}, "Yeoman": &bintree{confGitignoreYeoman, map[string]*bintree{}},
"LyX": &bintree{confGitignoreLyx, map[string]*bintree{ "Yii": &bintree{confGitignoreYii, map[string]*bintree{}},
}}, "ZendFramework": &bintree{confGitignoreZendframework, map[string]*bintree{}},
"Magento": &bintree{confGitignoreMagento, map[string]*bintree{ "Zephir": &bintree{confGitignoreZephir, map[string]*bintree{}},
}},
"Matlab": &bintree{confGitignoreMatlab, map[string]*bintree{
}},
"Maven": &bintree{confGitignoreMaven, map[string]*bintree{
}},
"Mercurial": &bintree{confGitignoreMercurial, map[string]*bintree{
}},
"Mercury": &bintree{confGitignoreMercury, map[string]*bintree{
}},
"MetaProgrammingSystem": &bintree{confGitignoreMetaprogrammingsystem, map[string]*bintree{
}},
"MicrosoftOffice": &bintree{confGitignoreMicrosoftoffice, map[string]*bintree{
}},
"ModelSim": &bintree{confGitignoreModelsim, map[string]*bintree{
}},
"Momentics": &bintree{confGitignoreMomentics, map[string]*bintree{
}},
"MonoDevelop": &bintree{confGitignoreMonodevelop, map[string]*bintree{
}},
"Nanoc": &bintree{confGitignoreNanoc, map[string]*bintree{
}},
"NetBeans": &bintree{confGitignoreNetbeans, map[string]*bintree{
}},
"Nim": &bintree{confGitignoreNim, map[string]*bintree{
}},
"Ninja": &bintree{confGitignoreNinja, map[string]*bintree{
}},
"Node": &bintree{confGitignoreNode, map[string]*bintree{
}},
"NotepadPP": &bintree{confGitignoreNotepadpp, map[string]*bintree{
}},
"OCaml": &bintree{confGitignoreOcaml, map[string]*bintree{
}},
"OSX": &bintree{confGitignoreOsx, map[string]*bintree{
}},
"Objective-C": &bintree{confGitignoreObjectiveC, map[string]*bintree{
}},
"Opa": &bintree{confGitignoreOpa, map[string]*bintree{
}},
"OpenCart": &bintree{confGitignoreOpencart, map[string]*bintree{
}},
"OracleForms": &bintree{confGitignoreOracleforms, map[string]*bintree{
}},
"Packer": &bintree{confGitignorePacker, map[string]*bintree{
}},
"Perl": &bintree{confGitignorePerl, map[string]*bintree{
}},
"Phalcon": &bintree{confGitignorePhalcon, map[string]*bintree{
}},
"PlayFramework": &bintree{confGitignorePlayframework, map[string]*bintree{
}},
"Plone": &bintree{confGitignorePlone, map[string]*bintree{
}},
"Prestashop": &bintree{confGitignorePrestashop, map[string]*bintree{
}},
"Processing": &bintree{confGitignoreProcessing, map[string]*bintree{
}},
"Python": &bintree{confGitignorePython, map[string]*bintree{
}},
"Qooxdoo": &bintree{confGitignoreQooxdoo, map[string]*bintree{
}},
"Qt": &bintree{confGitignoreQt, map[string]*bintree{
}},
"R": &bintree{confGitignoreR, map[string]*bintree{
}},
"ROS": &bintree{confGitignoreRos, map[string]*bintree{
}},
"Rails": &bintree{confGitignoreRails, map[string]*bintree{
}},
"Redcar": &bintree{confGitignoreRedcar, map[string]*bintree{
}},
"Redis": &bintree{confGitignoreRedis, map[string]*bintree{
}},
"RhodesRhomobile": &bintree{confGitignoreRhodesrhomobile, map[string]*bintree{
}},
"Ruby": &bintree{confGitignoreRuby, map[string]*bintree{
}},
"Rust": &bintree{confGitignoreRust, map[string]*bintree{
}},
"SBT": &bintree{confGitignoreSbt, map[string]*bintree{
}},
"SCons": &bintree{confGitignoreScons, map[string]*bintree{
}},
"SVN": &bintree{confGitignoreSvn, map[string]*bintree{
}},
"Sass": &bintree{confGitignoreSass, map[string]*bintree{
}},
"Scala": &bintree{confGitignoreScala, map[string]*bintree{
}},
"Scrivener": &bintree{confGitignoreScrivener, map[string]*bintree{
}},
"Sdcc": &bintree{confGitignoreSdcc, map[string]*bintree{
}},
"SeamGen": &bintree{confGitignoreSeamgen, map[string]*bintree{
}},
"SketchUp": &bintree{confGitignoreSketchup, map[string]*bintree{
}},
"SlickEdit": &bintree{confGitignoreSlickedit, map[string]*bintree{
}},
"Stella": &bintree{confGitignoreStella, map[string]*bintree{
}},
"SublimeText": &bintree{confGitignoreSublimetext, map[string]*bintree{
}},
"SugarCRM": &bintree{confGitignoreSugarcrm, map[string]*bintree{
}},
"Swift": &bintree{confGitignoreSwift, map[string]*bintree{
}},
"Symfony": &bintree{confGitignoreSymfony, map[string]*bintree{
}},
"SymphonyCMS": &bintree{confGitignoreSymphonycms, map[string]*bintree{
}},
"SynopsysVCS": &bintree{confGitignoreSynopsysvcs, map[string]*bintree{
}},
"Tags": &bintree{confGitignoreTags, map[string]*bintree{
}},
"TeX": &bintree{confGitignoreTex, map[string]*bintree{
}},
"TextMate": &bintree{confGitignoreTextmate, map[string]*bintree{
}},
"Textpattern": &bintree{confGitignoreTextpattern, map[string]*bintree{
}},
"TortoiseGit": &bintree{confGitignoreTortoisegit, map[string]*bintree{
}},
"TurboGears2": &bintree{confGitignoreTurbogears2, map[string]*bintree{
}},
"Typo3": &bintree{confGitignoreTypo3, map[string]*bintree{
}},
"Umbraco": &bintree{confGitignoreUmbraco, map[string]*bintree{
}},
"Unity": &bintree{confGitignoreUnity, map[string]*bintree{
}},
"VVVV": &bintree{confGitignoreVvvv, map[string]*bintree{
}},
"Vagrant": &bintree{confGitignoreVagrant, map[string]*bintree{
}},
"Vim": &bintree{confGitignoreVim, map[string]*bintree{
}},
"VirtualEnv": &bintree{confGitignoreVirtualenv, map[string]*bintree{
}},
"VisualStudio": &bintree{confGitignoreVisualstudio, map[string]*bintree{
}},
"VisualStudioCode": &bintree{confGitignoreVisualstudiocode, map[string]*bintree{
}},
"Waf": &bintree{confGitignoreWaf, map[string]*bintree{
}},
"WebMethods": &bintree{confGitignoreWebmethods, map[string]*bintree{
}},
"Windows": &bintree{confGitignoreWindows, map[string]*bintree{
}},
"WordPress": &bintree{confGitignoreWordpress, map[string]*bintree{
}},
"Xcode": &bintree{confGitignoreXcode, map[string]*bintree{
}},
"XilinxISE": &bintree{confGitignoreXilinxise, map[string]*bintree{
}},
"Xojo": &bintree{confGitignoreXojo, map[string]*bintree{
}},
"Yeoman": &bintree{confGitignoreYeoman, map[string]*bintree{
}},
"Yii": &bintree{confGitignoreYii, map[string]*bintree{
}},
"ZendFramework": &bintree{confGitignoreZendframework, map[string]*bintree{
}},
"Zephir": &bintree{confGitignoreZephir, map[string]*bintree{
}},
}}, }},
"label": &bintree{nil, map[string]*bintree{ "label": &bintree{nil, map[string]*bintree{
"Default": &bintree{confLabelDefault, map[string]*bintree{ "Default": &bintree{confLabelDefault, map[string]*bintree{}},
}},
}}, }},
"license": &bintree{nil, map[string]*bintree{ "license": &bintree{nil, map[string]*bintree{
"Abstyles License": &bintree{confLicenseAbstylesLicense, map[string]*bintree{ "Abstyles License": &bintree{confLicenseAbstylesLicense, map[string]*bintree{}},
}}, "Academic Free License v1.1": &bintree{confLicenseAcademicFreeLicenseV11, map[string]*bintree{}},
"Academic Free License v1.1": &bintree{confLicenseAcademicFreeLicenseV11, map[string]*bintree{ "Academic Free License v1.2": &bintree{confLicenseAcademicFreeLicenseV12, map[string]*bintree{}},
}}, "Academic Free License v2.0": &bintree{confLicenseAcademicFreeLicenseV20, map[string]*bintree{}},
"Academic Free License v1.2": &bintree{confLicenseAcademicFreeLicenseV12, map[string]*bintree{ "Academic Free License v2.1": &bintree{confLicenseAcademicFreeLicenseV21, map[string]*bintree{}},
}}, "Academic Free License v3.0": &bintree{confLicenseAcademicFreeLicenseV30, map[string]*bintree{}},
"Academic Free License v2.0": &bintree{confLicenseAcademicFreeLicenseV20, map[string]*bintree{ "Affero General Public License v1.0": &bintree{confLicenseAfferoGeneralPublicLicenseV10, map[string]*bintree{}},
}}, "Apache License 1.0": &bintree{confLicenseApacheLicense10, map[string]*bintree{}},
"Academic Free License v2.1": &bintree{confLicenseAcademicFreeLicenseV21, map[string]*bintree{ "Apache License 1.1": &bintree{confLicenseApacheLicense11, map[string]*bintree{}},
}}, "Apache License 2.0": &bintree{confLicenseApacheLicense20, map[string]*bintree{}},
"Academic Free License v3.0": &bintree{confLicenseAcademicFreeLicenseV30, map[string]*bintree{ "Artistic License 1.0": &bintree{confLicenseArtisticLicense10, map[string]*bintree{}},
}}, "Artistic License 2.0": &bintree{confLicenseArtisticLicense20, map[string]*bintree{}},
"Affero General Public License v1.0": &bintree{confLicenseAfferoGeneralPublicLicenseV10, map[string]*bintree{ "BSD 2-clause License": &bintree{confLicenseBsd2ClauseLicense, map[string]*bintree{}},
}}, "BSD 3-clause License": &bintree{confLicenseBsd3ClauseLicense, map[string]*bintree{}},
"Apache License 1.0": &bintree{confLicenseApacheLicense10, map[string]*bintree{ "BSD 4-clause License": &bintree{confLicenseBsd4ClauseLicense, map[string]*bintree{}},
}}, "Creative Commons CC0 1.0 Universal": &bintree{confLicenseCreativeCommonsCc010Universal, map[string]*bintree{}},
"Apache License 1.1": &bintree{confLicenseApacheLicense11, map[string]*bintree{ "Eclipse Public License 1.0": &bintree{confLicenseEclipsePublicLicense10, map[string]*bintree{}},
}}, "Educational Community License v1.0": &bintree{confLicenseEducationalCommunityLicenseV10, map[string]*bintree{}},
"Apache License 2.0": &bintree{confLicenseApacheLicense20, map[string]*bintree{ "Educational Community License v2.0": &bintree{confLicenseEducationalCommunityLicenseV20, map[string]*bintree{}},
}}, "GNU Affero General Public License v3.0": &bintree{confLicenseGnuAfferoGeneralPublicLicenseV30, map[string]*bintree{}},
"Artistic License 1.0": &bintree{confLicenseArtisticLicense10, map[string]*bintree{ "GNU Free Documentation License v1.1": &bintree{confLicenseGnuFreeDocumentationLicenseV11, map[string]*bintree{}},
}}, "GNU Free Documentation License v1.2": &bintree{confLicenseGnuFreeDocumentationLicenseV12, map[string]*bintree{}},
"Artistic License 2.0": &bintree{confLicenseArtisticLicense20, map[string]*bintree{ "GNU Free Documentation License v1.3": &bintree{confLicenseGnuFreeDocumentationLicenseV13, map[string]*bintree{}},
}}, "GNU General Public License v1.0": &bintree{confLicenseGnuGeneralPublicLicenseV10, map[string]*bintree{}},
"BSD 2-clause License": &bintree{confLicenseBsd2ClauseLicense, map[string]*bintree{ "GNU General Public License v2.0": &bintree{confLicenseGnuGeneralPublicLicenseV20, map[string]*bintree{}},
}}, "GNU General Public License v3.0": &bintree{confLicenseGnuGeneralPublicLicenseV30, map[string]*bintree{}},
"BSD 3-clause License": &bintree{confLicenseBsd3ClauseLicense, map[string]*bintree{ "GNU Lesser General Public License v2.1": &bintree{confLicenseGnuLesserGeneralPublicLicenseV21, map[string]*bintree{}},
}}, "GNU Lesser General Public License v3.0": &bintree{confLicenseGnuLesserGeneralPublicLicenseV30, map[string]*bintree{}},
"BSD 4-clause License": &bintree{confLicenseBsd4ClauseLicense, map[string]*bintree{ "GNU Library General Public License v2.0": &bintree{confLicenseGnuLibraryGeneralPublicLicenseV20, map[string]*bintree{}},
}}, "ISC license": &bintree{confLicenseIscLicense, map[string]*bintree{}},
"Creative Commons CC0 1.0 Universal": &bintree{confLicenseCreativeCommonsCc010Universal, map[string]*bintree{ "MIT License": &bintree{confLicenseMitLicense, map[string]*bintree{}},
}}, "Mozilla Public License 1.0": &bintree{confLicenseMozillaPublicLicense10, map[string]*bintree{}},
"Eclipse Public License 1.0": &bintree{confLicenseEclipsePublicLicense10, map[string]*bintree{ "Mozilla Public License 1.1": &bintree{confLicenseMozillaPublicLicense11, map[string]*bintree{}},
}}, "Mozilla Public License 2.0": &bintree{confLicenseMozillaPublicLicense20, map[string]*bintree{}},
"Educational Community License v1.0": &bintree{confLicenseEducationalCommunityLicenseV10, map[string]*bintree{
}},
"Educational Community License v2.0": &bintree{confLicenseEducationalCommunityLicenseV20, map[string]*bintree{
}},
"GNU Affero General Public License v3.0": &bintree{confLicenseGnuAfferoGeneralPublicLicenseV30, map[string]*bintree{
}},
"GNU Free Documentation License v1.1": &bintree{confLicenseGnuFreeDocumentationLicenseV11, map[string]*bintree{
}},
"GNU Free Documentation License v1.2": &bintree{confLicenseGnuFreeDocumentationLicenseV12, map[string]*bintree{
}},
"GNU Free Documentation License v1.3": &bintree{confLicenseGnuFreeDocumentationLicenseV13, map[string]*bintree{
}},
"GNU General Public License v1.0": &bintree{confLicenseGnuGeneralPublicLicenseV10, map[string]*bintree{
}},
"GNU General Public License v2.0": &bintree{confLicenseGnuGeneralPublicLicenseV20, map[string]*bintree{
}},
"GNU General Public License v3.0": &bintree{confLicenseGnuGeneralPublicLicenseV30, map[string]*bintree{
}},
"GNU Lesser General Public License v2.1": &bintree{confLicenseGnuLesserGeneralPublicLicenseV21, map[string]*bintree{
}},
"GNU Lesser General Public License v3.0": &bintree{confLicenseGnuLesserGeneralPublicLicenseV30, map[string]*bintree{
}},
"GNU Library General Public License v2.0": &bintree{confLicenseGnuLibraryGeneralPublicLicenseV20, map[string]*bintree{
}},
"ISC license": &bintree{confLicenseIscLicense, map[string]*bintree{
}},
"MIT License": &bintree{confLicenseMitLicense, map[string]*bintree{
}},
"Mozilla Public License 1.0": &bintree{confLicenseMozillaPublicLicense10, map[string]*bintree{
}},
"Mozilla Public License 1.1": &bintree{confLicenseMozillaPublicLicense11, map[string]*bintree{
}},
"Mozilla Public License 2.0": &bintree{confLicenseMozillaPublicLicense20, map[string]*bintree{
}},
}}, }},
"locale": &bintree{nil, map[string]*bintree{ "locale": &bintree{nil, map[string]*bintree{
"locale_bg-BG.ini": &bintree{confLocaleLocale_bgBgIni, map[string]*bintree{ "locale_bg-BG.ini": &bintree{confLocaleLocale_bgBgIni, map[string]*bintree{}},
}}, "locale_cs-CZ.ini": &bintree{confLocaleLocale_csCzIni, map[string]*bintree{}},
"locale_cs-CZ.ini": &bintree{confLocaleLocale_csCzIni, map[string]*bintree{ "locale_de-DE.ini": &bintree{confLocaleLocale_deDeIni, map[string]*bintree{}},
}}, "locale_en-US.ini": &bintree{confLocaleLocale_enUsIni, map[string]*bintree{}},
"locale_de-DE.ini": &bintree{confLocaleLocale_deDeIni, map[string]*bintree{ "locale_es-ES.ini": &bintree{confLocaleLocale_esEsIni, map[string]*bintree{}},
}}, "locale_fi-FI.ini": &bintree{confLocaleLocale_fiFiIni, map[string]*bintree{}},
"locale_en-US.ini": &bintree{confLocaleLocale_enUsIni, map[string]*bintree{ "locale_fr-FR.ini": &bintree{confLocaleLocale_frFrIni, map[string]*bintree{}},
}}, "locale_it-IT.ini": &bintree{confLocaleLocale_itItIni, map[string]*bintree{}},
"locale_es-ES.ini": &bintree{confLocaleLocale_esEsIni, map[string]*bintree{ "locale_ja-JP.ini": &bintree{confLocaleLocale_jaJpIni, map[string]*bintree{}},
}}, "locale_lv-LV.ini": &bintree{confLocaleLocale_lvLvIni, map[string]*bintree{}},
"locale_fi-FI.ini": &bintree{confLocaleLocale_fiFiIni, map[string]*bintree{ "locale_nl-NL.ini": &bintree{confLocaleLocale_nlNlIni, map[string]*bintree{}},
}}, "locale_pl-PL.ini": &bintree{confLocaleLocale_plPlIni, map[string]*bintree{}},
"locale_fr-FR.ini": &bintree{confLocaleLocale_frFrIni, map[string]*bintree{ "locale_pt-BR.ini": &bintree{confLocaleLocale_ptBrIni, map[string]*bintree{}},
}}, "locale_ru-RU.ini": &bintree{confLocaleLocale_ruRuIni, map[string]*bintree{}},
"locale_it-IT.ini": &bintree{confLocaleLocale_itItIni, map[string]*bintree{ "locale_sr-SP.ini": &bintree{confLocaleLocale_srSpIni, map[string]*bintree{}},
}}, "locale_tr-TR.ini": &bintree{confLocaleLocale_trTrIni, map[string]*bintree{}},
"locale_ja-JP.ini": &bintree{confLocaleLocale_jaJpIni, map[string]*bintree{ "locale_zh-CN.ini": &bintree{confLocaleLocale_zhCnIni, map[string]*bintree{}},
}}, "locale_zh-HK.ini": &bintree{confLocaleLocale_zhHkIni, map[string]*bintree{}},
"locale_lv-LV.ini": &bintree{confLocaleLocale_lvLvIni, map[string]*bintree{ "locale_zh-TW.ini": &bintree{confLocaleLocale_zhTwIni, map[string]*bintree{}},
}},
"locale_nl-NL.ini": &bintree{confLocaleLocale_nlNlIni, map[string]*bintree{
}},
"locale_pl-PL.ini": &bintree{confLocaleLocale_plPlIni, map[string]*bintree{
}},
"locale_pt-BR.ini": &bintree{confLocaleLocale_ptBrIni, map[string]*bintree{
}},
"locale_ru-RU.ini": &bintree{confLocaleLocale_ruRuIni, map[string]*bintree{
}},
"locale_sr-SP.ini": &bintree{confLocaleLocale_srSpIni, map[string]*bintree{
}},
"locale_tr-TR.ini": &bintree{confLocaleLocale_trTrIni, map[string]*bintree{
}},
"locale_zh-CN.ini": &bintree{confLocaleLocale_zhCnIni, map[string]*bintree{
}},
"locale_zh-HK.ini": &bintree{confLocaleLocale_zhHkIni, map[string]*bintree{
}},
"locale_zh-TW.ini": &bintree{confLocaleLocale_zhTwIni, map[string]*bintree{
}},
}}, }},
"readme": &bintree{nil, map[string]*bintree{ "readme": &bintree{nil, map[string]*bintree{
"Default": &bintree{confReadmeDefault, map[string]*bintree{ "Default": &bintree{confReadmeDefault, map[string]*bintree{}},
}},
}}, }},
}}, }},
}} }}
@ -5525,4 +5305,3 @@ func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1) cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...) return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
} }

View file

@ -11,7 +11,6 @@ import (
"path" "path"
"strings" "strings"
"github.com/gogits/git-module"
"github.com/go-gitea/gitea/models" "github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth" "github.com/go-gitea/gitea/modules/auth"
"github.com/go-gitea/gitea/modules/base" "github.com/go-gitea/gitea/modules/base"
@ -19,6 +18,7 @@ import (
"github.com/go-gitea/gitea/modules/log" "github.com/go-gitea/gitea/modules/log"
"github.com/go-gitea/gitea/modules/setting" "github.com/go-gitea/gitea/modules/setting"
"github.com/go-gitea/gitea/modules/template" "github.com/go-gitea/gitea/modules/template"
"github.com/gogits/git-module"
) )
const ( const (