Resource API in Go language