From 28bf280ed71e31b8a5184281228e8f9bf3bc7688 Mon Sep 17 00:00:00 2001 From: Steven Sklar Date: Thu, 25 Apr 2024 20:37:28 +0200 Subject: [PATCH] chore(examples): update examples to use a unique table name (#34) --- examples/from-conf/main.go | 4 ++-- examples/http/auth-and-tls/main.go | 4 ++-- examples/http/auth/main.go | 4 ++-- examples/http/basic/main.go | 4 ++-- examples/tcp/auth-and-tls/main.go | 4 ++-- examples/tcp/auth/main.go | 4 ++-- examples/tcp/basic/main.go | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/examples/from-conf/main.go b/examples/from-conf/main.go index f74b916..6ef3d76 100644 --- a/examples/from-conf/main.go +++ b/examples/from-conf/main.go @@ -30,7 +30,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "Austrian Empire"). TimestampColumn("birthdate", bday). // Epoch in micros. Int64Column("id", 0). @@ -45,7 +45,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "USA"). TimestampColumn("birthdate", bday). Int64Column("id", 1). diff --git a/examples/http/auth-and-tls/main.go b/examples/http/auth-and-tls/main.go index 1a6b48b..53567e5 100644 --- a/examples/http/auth-and-tls/main.go +++ b/examples/http/auth-and-tls/main.go @@ -38,7 +38,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "Austrian Empire"). TimestampColumn("birthdate", bday). // Epoch in micros. Int64Column("id", 0). @@ -53,7 +53,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "USA"). TimestampColumn("birthdate", bday). Int64Column("id", 1). diff --git a/examples/http/auth/main.go b/examples/http/auth/main.go index 47fb490..362ece0 100644 --- a/examples/http/auth/main.go +++ b/examples/http/auth/main.go @@ -38,7 +38,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "Austrian Empire"). TimestampColumn("birthdate", bday). // Epoch in micros. Int64Column("id", 0). @@ -53,7 +53,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "USA"). TimestampColumn("birthdate", bday). Int64Column("id", 1). diff --git a/examples/http/basic/main.go b/examples/http/basic/main.go index 758c7a1..6bd4d25 100644 --- a/examples/http/basic/main.go +++ b/examples/http/basic/main.go @@ -31,7 +31,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "Austrian Empire"). TimestampColumn("birthdate", bday). // Epoch in micros. Int64Column("id", 0). @@ -46,7 +46,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "USA"). TimestampColumn("birthdate", bday). Int64Column("id", 1). diff --git a/examples/tcp/auth-and-tls/main.go b/examples/tcp/auth-and-tls/main.go index 156f325..615bb35 100644 --- a/examples/tcp/auth-and-tls/main.go +++ b/examples/tcp/auth-and-tls/main.go @@ -34,7 +34,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "Austrian Empire"). TimestampColumn("birthdate", bday). // Epoch in micros. Int64Column("id", 0). @@ -49,7 +49,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "USA"). TimestampColumn("birthdate", bday). Int64Column("id", 1). diff --git a/examples/tcp/auth/main.go b/examples/tcp/auth/main.go index a75af63..4d6c536 100644 --- a/examples/tcp/auth/main.go +++ b/examples/tcp/auth/main.go @@ -33,7 +33,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "Austrian Empire"). TimestampColumn("birthdate", bday). // Epoch in micros. Int64Column("id", 0). @@ -48,7 +48,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "USA"). TimestampColumn("birthdate", bday). Int64Column("id", 1). diff --git a/examples/tcp/basic/main.go b/examples/tcp/basic/main.go index 1cd3c25..5f9c321 100644 --- a/examples/tcp/basic/main.go +++ b/examples/tcp/basic/main.go @@ -26,7 +26,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "Austrian Empire"). TimestampColumn("birthdate", bday). // Epoch in micros. Int64Column("id", 0). @@ -41,7 +41,7 @@ func main() { log.Fatal(err) } err = sender. - Table("inventors"). + Table("inventors_go"). Symbol("born", "USA"). TimestampColumn("birthdate", bday). Int64Column("id", 1).