How to write a dashboard in Golang

Does your mention means how to create rest-api?
If yes, could you try see below links?