1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-29 23:38:14 +02:00

сделал folders.go

This commit is contained in:
Nikitin Aleksandr
2023-06-06 18:05:30 +03:00
parent db2826b6ff
commit 71fc53b2f8
414 changed files with 77299 additions and 5680 deletions

View File

@@ -0,0 +1,15 @@
package openai
import (
"encoding/json"
)
type Unmarshaler interface {
Unmarshal(data []byte, v any) error
}
type JSONUnmarshaler struct{}
func (jm *JSONUnmarshaler) Unmarshal(data []byte, v any) error {
return json.Unmarshal(data, v)
}