Go to file
Mark Rushakoff ed4bba83f5 test(models): don't reassign package variable
Prior to this change, `go test -count=2 ./models` would fail like:

--- FAIL: TestMarshal (0.00s)
    points_test.go:37: got:  ,A\ FOO=bar,APPLE=orange,host=serverA,region=uswest
    points_test.go:38: exp:  ,apple=orange,foo=bar,host=serverA,region=uswest
    points_test.go:39: invalid match

because a later test reassigned the package-level variable that
TestMarshal depends on. Don't reassign that variable anymore.

Also cleaned up some whitespace, and moved an init function to the top
of the file for visibility.
2018-11-12 08:24:14 -08:00
.circleci
.github
bolt feat(platform): add operation log for resources 2018-11-02 14:21:14 -04:00
chronograf
cmd
context
docker
etc
flux
gather
http
inmem
internal
kit
logger
mock
models
nats
pkg
prometheus
query
rand
scripts
snowflake
source
storage
task
telegraf/plugins
testing
toml
tools/tmpl
tsdb
ui
write
zap
.gitignore
.goreleaser.yml
Jenkinsfile
LICENSE
Makefile
README.md
auth.go
authz.go
bucket.go
dashboard.go
dbrp_mapping.go
dbrp_mapping_internal_test.go
dbrp_mapping_test.go
error.go
errors.go
errors.md
errors_test.go
example_test.go
go.mod
go.sum
id.go
id_test.go
keyvalue_log.go
macro.go
macro_test.go
measurement.go
onboarding.go
operation_log.go
organization.go
query.go
scraper.go
session.go
source.go
status.go
task.go
telegraf.go
telegraf_test.go
token.go
tools.go
usage.go
user.go
user_resource_mapping.go
user_resource_mapping_test.go
view.go
view_test.go
write.go

README.md

InfluxData Platform CircleCI

This is the monorepo for InfluxData Platform, a.k.a. Influx 2.0 OSS.

Installation

This project requires Go 1.11 and Go module support. Set GO111MODULE=on or build the project outside of your GOPATH for it to succeed.

For information about modules, please refer to the wiki.

Introducing Flux

We recently announced Flux, the MIT-licensed data scripting language (and rename for IFQL). The source for Flux is in this repository under query. Learn more about Flux from CTO Paul Dix's presentation.