14 lines
291 B
Go
14 lines
291 B
Go
package debugh
|
|
|
|
import (
|
|
"backbone/internal/pkg/version"
|
|
svc "backbone/pkg/pb/api/services"
|
|
"context"
|
|
)
|
|
|
|
func (h *Handler) GetVersion(_ context.Context, _ *svc.GetVersion_Request) (*svc.GetVersion_Response, error) {
|
|
return &svc.GetVersion_Response{
|
|
Version: version.Version,
|
|
}, nil
|
|
}
|