mirror of
				https://github.com/MontFerret/ferret.git
				synced 2025-10-30 23:37:40 +02:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			182 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			182 B
		
	
	
	
		
			Go
		
	
	
	
	
	
|   | package compiler | ||
|  | 
 | ||
|  | type ( | ||
|  | 	Option  func(opts *Options) | ||
|  | 	Options struct { | ||
|  | 		noStdlib bool | ||
|  | 	} | ||
|  | ) | ||
|  | 
 | ||
|  | func WithoutStdlib() Option { | ||
|  | 	return func(opts *Options) { | ||
|  | 		opts.noStdlib = true | ||
|  | 	} | ||
|  | } |