You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package gogpt
-
- import (
- "encoding/json"
- )
-
- type marshaller interface {
- marshal(value any) ([]byte, error)
- }
-
- type jsonMarshaller struct{}
-
- func (jm *jsonMarshaller) marshal(value any) ([]byte, error) {
- return json.Marshal(value)
- }
|