Skip to content

Instantly share code, notes, and snippets.

Working from home

Ofonime Francis ofonimefrancis

Working from home
Block or report user

Report or block ofonimefrancis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View retrieveOrders
func retrieveUserOrders(influxClient client.Client, userID string) {
query := client.Query{
Command: fmt.Sprintf("select * from orders where user_id = '%s'", userID),
Database: "tutorial",
resp, err := influxClient.Query(query)
if err != nil {
log.Fatalf("%v", err)
View go
package main
import (
client ""
const (
You can’t perform that action at this time.