1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/pkg/compiler/options.go
2018-09-18 21:41:16 -04:00

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
}
}