Skip to content

Instantly share code, notes, and snippets.

View pfortin-urbn's full-sized avatar

Paul Fortin pfortin-urbn

View GitHub Profile
@pfortin-urbn
pfortin-urbn / sqsQueueUtil.go
Created December 3, 2015 01:50 — forked from p4tin/sqsQueueUtil.go
Simple Utility to access Amazon SQS (or local EleasticMQ) using Go
package main
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sqs"
"os"
"flag"
)
@pfortin-urbn
pfortin-urbn / main.go
Created January 17, 2018 13:00
Golang Tile Publish
package main
import (
"database/sql"
"encoding/json"
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/sns"
_ "github.com/mattn/go-oci8"
@pfortin-urbn
pfortin-urbn / PubsubClient.go
Last active May 18, 2018 13:04
PubSub Example
package clients
import (
"context"
"time"
"os"
"cloud.google.com/go/pubsub"
@pfortin-urbn
pfortin-urbn / 1_simple.go
Created February 4, 2020 13:46 — forked from sosedoff/1_simple.go
Golang Custom Struct Tags Example
package main
import (
"fmt"
"reflect"
)
// Name of the struct tag used in examples
const tagName = "validate"
package logging
import (
"io/ioutil"
"os"
"github.com/lovoo/goka/logger"
log "github.com/sirupsen/logrus"
"github.com/urbn/gourbnkit/v2/urbnlog"