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 / 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"
@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"
)