init project

This commit is contained in:
admin committed 2026-11-11 17:49:38 +08:00
1 parent d63cc8d9f5
commit ee07869839
39 files changed
+1560 -622

No files matched your search

+3 -3
View File
@@ -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,
}