github.com/shravanasati/hydra@v1.0.1-0.20240122045627-1082d2ed50d2/src/static.go (about)

     1  /*
     2  This file contains static data like variables (gitignores and licenses) which are to be
     3  embed and boilerplates for various programming languages.
     4  
     5  Author: Shravan Asati
     6  Originally Written: 8 May 2021
     7  Last edited: 4 June 2021
     8  */
     9  
    10  package main
    11  
    12  import _ "embed"
    13  
    14  // * all licenses
    15  
    16  //go:embed licenses/APACHE
    17  var APACHE string
    18  
    19  //go:embed licenses/BSD
    20  var BSD string
    21  
    22  //go:embed licenses/EPL
    23  var EPL string
    24  
    25  //go:embed licenses/GPL
    26  var GPL string
    27  
    28  //go:embed licenses/MIT
    29  var MIT string
    30  
    31  //go:embed licenses/MPL
    32  var MPL string
    33  
    34  //go:embed licenses/UNI
    35  var UNI string
    36  
    37  // * all gitignores
    38  //go:embed gitignores/go.gitignore
    39  var goGitignore string
    40  
    41  //go:embed gitignores/python.gitignore
    42  var pythonGitignore string
    43  
    44  //go:embed gitignores/c.gitignore
    45  var cGitignore string
    46  
    47  //go:embed gitignores/cpp.gitignore
    48  var cppGitignore string
    49  
    50  //go:embed gitignores/ruby.gitignore
    51  var rubyGitignore string
    52  
    53  // * all boilerplates
    54  
    55  //go:embed boilerplates/html
    56  var HTMLBoilerplate string
    57  
    58  //go:embed boilerplates/cssReset
    59  var cssReset string
    60  
    61  //go:embed boilerplates/flask
    62  var flaskBoilerplate string
    63  
    64  //go:embed boilerplates/gemspec
    65  var gemspecContent string
    66  
    67  //go:embed boilerplates/setupContent
    68  var pythonSetup string