influxdb/query/promql
Jonathan A. Sternberg e9600b1f0b
refactor: modify tooling to take advantage of go run
The generate commands have been modified to take advantage of the new
functionality in Go 1.11 that allows `go run` to execute a package
instead of individual files.

This functionality combined with Go modules allows us to execute a
package directly out of our pinned dependencies rather than accidentally
picking up another binary outside of the build environment.

This also simplifies the Makefile because they no longer have to be
responsible for installing the correct tooling since the Go command
takes care of that logic. It also makes it so that the Makefiles with
file generation can now be invoked from their appropriate subdirectories
so they are contained within the directory itself rather than relying on
values in the top level Makefile.

It is now possible to generate all files within this project by using:

    go generate ./...

Or the Makefile can continue to be used.

This commit also copies over the special copy of `tmpl` that the storage
engine uses within the influxdb repository. It was never copied over so
using `go generate` on these packages did not work.
2018-10-15 11:01:27 -05:00
..
Makefile refactor: modify tooling to take advantage of go run 2018-10-15 11:01:27 -05:00
gen.go refactor: modify tooling to take advantage of go run 2018-10-15 11:01:27 -05:00
promql.go fix: the master build no longer uses -i when building the influx binary 2018-09-25 11:33:07 -05:00
promql.peg Parse duration literals 2018-08-31 15:33:43 -06:00
query.go feat: switch to using go modules for building 2018-09-20 08:33:15 -07:00
query_test.go Refactor Platform according to new organization in `flux` (#966) 2018-10-05 00:06:14 -04:00
types.go chore(fmt): fix and simplify go formatting 2018-10-08 17:23:54 -05:00
unicode.go refactor: Migrate query package to influxdata/flux repository 2018-09-06 11:13:48 -07:00