to save up a progress

This commit is contained in:
2026-09-19 23:21:09 +03:00
parent 78cdfa3beb
commit e51ffde305
16 changed files with 267 additions and 13 deletions
+20
View File
@@ -0,0 +1,20 @@
//go:build ignore
package dithering
func valueOfType(a any) reflect.Value {
return reflect.TypeOf(a).Elem()
}
func ServeHTTP(w http.ResponseWriter, req* http.Request) {
instance := new(Dithering{})
value := reflect.ValueOf(instance).Elem()
imageType := valueOfType(new(image.Image))
floatType := valueOfType
for i := 0; i < value.NumField(); i++ {
v := value.Field(i)
switch v.Type() {
case imageType
}
}
}