Skip to content

Commit

Permalink
chore(examples): update examples to use a unique table name (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
sklarsa authored Apr 25, 2024
1 parent 2190485 commit 28bf280
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions examples/from-conf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions examples/http/auth-and-tls/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions examples/http/auth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions examples/http/basic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions examples/tcp/auth-and-tls/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions examples/tcp/auth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions examples/tcp/basic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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).
Expand Down

0 comments on commit 28bf280

Please sign in to comment.