init project
This commit is contained in:
1 parent
d63cc8d9f5
commit
ee07869839
39 files changed
+1560
-622
No files matched your search
@@ -4,8 +4,8 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"git.xiaotuo.co/micro/skeleton/internal/runtime"
|
||||
"git.xiaotuo.co/pkg/tool/stringx"
|
||||
"github.com/google/uuid"
|
||||
"micro_layout/internal/runtime"
|
||||
)
|
||||
|
||||
type monitor struct {
|
||||
@@ -16,7 +16,7 @@ type monitor struct {
|
||||
func NewMonitor() runtime.Runtime {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
opts := &runtime.Options{
|
||||
ID: stringx.MakeUUID(),
|
||||
ID: uuid.NewString(),
|
||||
Type: "monitor",
|
||||
Context: ctx,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user