1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-14 11:23:02 +02:00
ferret/pkg/compiler/options.go

15 lines
182 B
Go
Raw Normal View History

2018-09-19 03:41:16 +02:00
package compiler
type (
Option func(opts *Options)
Options struct {
noStdlib bool
}
)
func WithoutStdlib() Option {
return func(opts *Options) {
opts.noStdlib = true
}
}