Implementation for GetPocket API using Go