mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-21 01:21:34 +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
|
||
|
}
|
||
|
}
|