diff --git a/README.md b/README.md index f829608..b70a6b7 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,20 @@ Bardiocs Moam Replacement Tool My Idea is to write it in Go and Vue together. +Using ChartGPT may accelerate development. -## readings to prepare - -- -- -- -- -- - - +## structure +### Backend +models +database +character +user +cmd +tests +testdata +doc +### Frontend +public +src +### Docker +### Data \ No newline at end of file diff --git a/frontend/node_modules/.vue-global-types/vue_3.5_false.d.ts b/frontend/node_modules/.vue-global-types/vue_3.5_false.d.ts index a7ccc73..45d56eb 100644 --- a/frontend/node_modules/.vue-global-types/vue_3.5_false.d.ts +++ b/frontend/node_modules/.vue-global-types/vue_3.5_false.d.ts @@ -5,6 +5,7 @@ export {}; const __VLS_intrinsicElements: __VLS_IntrinsicElements; const __VLS_directiveBindingRestFields: { instance: null, oldValue: null, modifiers: any, dir: any }; const __VLS_unref: typeof import('vue').unref; + const __VLS_placeholder: any; const __VLS_nativeElements = { ...{} as SVGElementTagNameMap, @@ -25,7 +26,7 @@ export {}; N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N1] } : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N2] } : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N3] } : - { [K in N0]: unknown } + { [K in N0]: unknown }; type __VLS_FunctionalComponentProps = '__ctx' extends keyof __VLS_PickNotAny ? K extends { __ctx?: { props?: infer P } } ? NonNullable

: never : T extends (props: infer P, ...args: any) => any ? P : @@ -37,6 +38,15 @@ export {}; : true : false : false; + type __VLS_NormalizeComponentEvent = ( + __VLS_IsFunction extends true + ? Props + : __VLS_IsFunction extends true + ? { [K in onEvent]?: Events[Event] } + : __VLS_IsFunction extends true + ? { [K in onEvent]?: Events[CamelizedEvent] } + : Props + ) & Record; // fix https://github.com/vuejs/language-tools/issues/926 type __VLS_UnionToIntersection = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never; type __VLS_OverloadUnionInner = U & T extends (...args: infer A) => infer R @@ -75,13 +85,13 @@ export {}; index: number, ][]; function __VLS_getVForSourceType }>(source: T): [ - item: T extends { [Symbol.iterator](): Iterator } ? T1 : never, + item: T extends { [Symbol.iterator](): Iterator } ? T1 : never, key: number, index: undefined, ][]; // #3845 function __VLS_getVForSourceType }>(source: T): [ - item: number | (Exclude extends { [Symbol.iterator](): Iterator } ? T1 : never), + item: number | (Exclude extends { [Symbol.iterator](): Iterator } ? T1 : never), key: number, index: undefined, ][]; diff --git a/main.go b/main.go deleted file mode 100644 index 8325fb4..0000000 --- a/main.go +++ /dev/null @@ -1,25 +0,0 @@ -package main - -import ( - "fmt" - "math/rand" - "net/http" - "strconv" - "time" - ) - func handler(w http.ResponseWriter, r *http.Request) { - rand.Seed(time.Now().UnixNano()) - // Get the 'min' and 'max' query parameters from the URL - minParam := r.URL.Query().Get("min") - maxParam := r.URL.Query().Get("max") - // Convert the parameters to integers - min, _ := strconv.Atoi(minParam) - max, _ := strconv.Atoi(maxParam) - // Generate a random number within the specified range - randomNumber := rand.Intn(max-min+1) + min - fmt.Fprintf(w, "Random Number: %d", randomNumber) - } - func main() { - http.HandleFunc("/", handler) - http.ListenAndServe(":8080", nil) - } \ No newline at end of file