mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 20:52:23 +08:00
16 lines
307 B
Go
16 lines
307 B
Go
package sqlstore
|
|
|
|
import (
|
|
"errors"
|
|
"github.com/torkelo/grafana-pro/pkg/bus"
|
|
m "github.com/torkelo/grafana-pro/pkg/models"
|
|
)
|
|
|
|
func init() {
|
|
bus.AddQueryHandler("sql", GetDataSourcesQuery)
|
|
}
|
|
|
|
func GetDataSourcesQuery(query *m.GetDataSourcesQuery) error {
|
|
return errors.New("Hello from query handler")
|
|
}
|