2018-07-27 18:43:14 +00:00
|
|
|
// Package builtin ensures all packages related to Flux built-ins are imported and initialized.
|
|
|
|
// This should only be imported from main or test packages.
|
|
|
|
// It is a mistake to import it from any other package.
|
|
|
|
package builtin
|
2018-05-31 17:47:33 +00:00
|
|
|
|
|
|
|
import (
|
2018-09-06 18:09:52 +00:00
|
|
|
"github.com/influxdata/flux"
|
|
|
|
|
2019-01-12 00:18:23 +00:00
|
|
|
_ "github.com/influxdata/flux/stdlib" // Import the stdlib
|
|
|
|
_ "github.com/influxdata/influxdb/query/stdlib" // Import the stdlib
|
2018-05-31 17:47:33 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2018-09-06 18:09:52 +00:00
|
|
|
flux.FinalizeBuiltIns()
|
2018-05-31 17:47:33 +00:00
|
|
|
}
|