mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-15 01:25:00 +02:00
Updated README
This commit is contained in:
14
pkg/compiler/options.go
Normal file
14
pkg/compiler/options.go
Normal file
@ -0,0 +1,14 @@
|
||||
package compiler
|
||||
|
||||
type (
|
||||
Option func(opts *Options)
|
||||
Options struct {
|
||||
noStdlib bool
|
||||
}
|
||||
)
|
||||
|
||||
func WithoutStdlib() Option {
|
||||
return func(opts *Options) {
|
||||
opts.noStdlib = true
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user