-
| Hello, I'm working on a linter, the validation code is working just fine, but I need to preload the configuration options (from flags) and create a map (based on flag values and external files) that will be shared between each  Thanks. | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            butuzov
          
      
      
        Sep 21, 2021 
      
    
    Replies: 1 comment 1 reply
-
| Not sure if best, but i did instantiate struct, and 'run' was its method. First call of run checked flags with sync.Once. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        alexal
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Not sure if best, but i did instantiate struct, and 'run' was its method. First call of run checked flags with sync.Once.