xoauth is a Go package that calculates a valid signature for use with Gmail IMAP XOAUTH and similar 2-legged OAUTH1 applications