mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
correct comments
This commit is contained in:
parent
3f5daa5e58
commit
0bc5bf53ce
@ -13,16 +13,10 @@ import (
|
|||||||
|
|
||||||
func Init() (*plugin.Client, error) {
|
func Init() (*plugin.Client, error) {
|
||||||
/*
|
/*
|
||||||
Setup
|
setup protoc using https://gist.github.com/bergquist/5df1f201bb605e42538ef40f6ccf82a9
|
||||||
|
run "protoc --go_out=plugins=grpc:. *.proto" to update proto files
|
||||||
go get -u google.golang.org/grpc \
|
|
||||||
go get -u github.com/golang/protobuf/{proto,protoc-gen-go} \
|
|
||||||
go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway \
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
protoc --go_out=plugins=grpc:. *.proto
|
|
||||||
*/
|
|
||||||
logger := log.New("grafana.plugins")
|
logger := log.New("grafana.plugins")
|
||||||
client := plugin.NewClient(&plugin.ClientConfig{
|
client := plugin.NewClient(&plugin.ClientConfig{
|
||||||
HandshakeConfig: plugin.HandshakeConfig{
|
HandshakeConfig: plugin.HandshakeConfig{
|
||||||
|
Loading…
Reference in New Issue
Block a user