mirror of
https://github.com/Xevion/go-ha.git
synced 2025-12-09 20:07:18 -06:00
refactor: rename files into common naming, rename GetId to NextId, document function
This commit is contained in:
@@ -45,8 +45,8 @@ type BaseServiceRequest struct {
|
||||
}
|
||||
|
||||
func NewBaseServiceRequest(entityId string) BaseServiceRequest {
|
||||
id := internal.GetId()
|
||||
bsr := BaseServiceRequest{
|
||||
id := internal.NextId()
|
||||
Id: id,
|
||||
RequestType: "call_service",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user