// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================

package service

import (
	"context"
	"kami/internal/model"
	"kami/internal/model/entity"
)

type (
	IRoad interface {
		GetSimpleAll(ctx context.Context) (data []model.RoadSimpleInfo, err error)
		GetDetailByUid(ctx context.Context, uid string) (data *entity.V1RoadInfo, err error)
	}
)

var (
	localRoad IRoad
)

func Road() IRoad {
	if localRoad == nil {
		panic("implement not found for interface IRoad, forgot register?")
	}
	return localRoad
}

func RegisterRoad(i IRoad) {
	localRoad = i
}
