remove olds add doku, dont know

This commit is contained in:
2024-12-28 16:59:28 +01:00
parent 48e0708dc9
commit 717be22a95
3 changed files with 29 additions and 37 deletions
+16 -9
View File
@@ -3,13 +3,20 @@
Bardiocs Moam Replacement Tool Bardiocs Moam Replacement Tool
My Idea is to write it in Go and Vue together. My Idea is to write it in Go and Vue together.
Using ChartGPT may accelerate development.
## readings to prepare ## structure
### Backend
- <https://www.freecodecamp.org/news/how-i-set-up-a-real-world-project-with-go-and-vue/> models
- <https://github.com/ricoberger/go-vue-starter> database
- <https://github.com/torenware/vite-go> character
- <https://dev.to/blueworrybear/put-vue-js-and-go-together-setup-web-app-in-5-mins-5h90> user
- <https://github.com/klebervirgilio/vue-crud-app-with-golang> cmd
tests
<https://www.golang101.com/how-tos/how-to-golang-project-vscode/> testdata
doc
### Frontend
public
src
### Docker
### Data
+13 -3
View File
@@ -5,6 +5,7 @@ export {};
const __VLS_intrinsicElements: __VLS_IntrinsicElements; const __VLS_intrinsicElements: __VLS_IntrinsicElements;
const __VLS_directiveBindingRestFields: { instance: null, oldValue: null, modifiers: any, dir: any }; const __VLS_directiveBindingRestFields: { instance: null, oldValue: null, modifiers: any, dir: any };
const __VLS_unref: typeof import('vue').unref; const __VLS_unref: typeof import('vue').unref;
const __VLS_placeholder: any;
const __VLS_nativeElements = { const __VLS_nativeElements = {
...{} as SVGElementTagNameMap, ...{} 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] } : 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] } : 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] } : 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<T, K> = type __VLS_FunctionalComponentProps<T, K> =
'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { __ctx?: { props?: infer P } } ? NonNullable<P> : never '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { __ctx?: { props?: infer P } } ? NonNullable<P> : never
: T extends (props: infer P, ...args: any) => any ? P : : T extends (props: infer P, ...args: any) => any ? P :
@@ -37,6 +38,15 @@ export {};
: true : true
: false : false
: false; : false;
type __VLS_NormalizeComponentEvent<Props, Events, onEvent extends keyof Props, Event extends keyof Events, CamelizedEvent extends keyof Events> = (
__VLS_IsFunction<Props, onEvent> extends true
? Props
: __VLS_IsFunction<Events, Event> extends true
? { [K in onEvent]?: Events[Event] }
: __VLS_IsFunction<Events, CamelizedEvent> extends true
? { [K in onEvent]?: Events[CamelizedEvent] }
: Props
) & Record<string, unknown>;
// fix https://github.com/vuejs/language-tools/issues/926 // fix https://github.com/vuejs/language-tools/issues/926
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never; type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R
@@ -75,13 +85,13 @@ export {};
index: number, index: number,
][]; ][];
function __VLS_getVForSourceType<T extends { [Symbol.iterator](): Iterator<any> }>(source: T): [ function __VLS_getVForSourceType<T extends { [Symbol.iterator](): Iterator<any> }>(source: T): [
item: T extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never, item: T extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never,
key: number, key: number,
index: undefined, index: undefined,
][]; ][];
// #3845 // #3845
function __VLS_getVForSourceType<T extends number | { [Symbol.iterator](): Iterator<any> }>(source: T): [ function __VLS_getVForSourceType<T extends number | { [Symbol.iterator](): Iterator<any> }>(source: T): [
item: number | (Exclude<T, number> extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never), item: number | (Exclude<T, number> extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never),
key: number, key: number,
index: undefined, index: undefined,
][]; ][];
-25
View File
@@ -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)
}