mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-14 11:23:02 +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
|
||
|
}
|
||
|
}
|