Just an example of usage grafana-plugin-sdk to build a resource plugin.
go build -o test-plugin_windows_amd64.exe ./pkg
Copy /dist
folder to a Grafana plugin directory and restart Grafana service.
http://<your-grafana-host>/api/plugins/grafana-backend-plugin/resources
The result
{
"code": 3345,
"message": "You are awesome"
}