Discover Packages 
           
        
          
            github.com/goto/shield 
           
        
          
            pkg 
           
        
        
          
            file
           
          
            
               
          
        
       
     
   
  
    
  
    
       
    
    
      package 
    
    
      
        
           
      
    
   
    
      
  
    
      
  
    
      Version:  
        v0.6.1
     
    
      Opens a new window with list of versions in this module.
    
    
    
   
      
  
    Published: Apr  4, 2023
   
      
  
    License: Apache-2.0 
      
    
   
  
    Opens a new window with license information.
  
      
        
  
    
      Imports:  7
     
   
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by:  0
     
   
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
 
    
      
    
    
  
  
    
      
        
          Documentation 
        
       
     
  
 
    
  
    
      
      
        
          
  
    
      ¶ 
     
    
  
    
  
    
      
        
 
  
  
  
  
  
	  
  
  
    
    
    
  DirExists checks whether a directory path exists
return true if exists, else false
  
         
	  
  
  
    
    
    
  Exist checks whether a file with filename exists
return true if exists, else false
  
         
	  
  
  
    
    
    
  Parse tries to read json or yaml file
and transform the content into a struct passed
in the 2nd argument
File extension matters, only file with extension
json, yaml, or yml that is parsable
  
           
      
     
   
        
      
      
        
  
    
      ¶ 
     
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.