package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v0.0.1
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Dec 23, 2020
  
      
  
    License: MIT
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 5
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 0
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
      
      Documentation
      ¶
    
    
  
    
  
    
      
        
 
  
  
  
  
  
	  
  
  
    
    
    
      func Load(fileDir, fileName, fileType string, data interface{}, defaults ...Default) (err error)
     
  Load config and bind it to a struct. THe struct is also validated.
  
         
	  
  
  
    
    
    
      func Save(fileDir, fileName, fileType string, data interface{}) error
     
  Save config to a file. Config is validated before it is saved.
  
         
  
  
      
  
  
    
    
    
      type Default struct {
	Key   string
	Value interface{}
}
     
  Default config value
  
       
      
     
   
        
      
      
        
  
    
      
      Source Files
      ¶
    
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.