machinery icon indicating copy to clipboard operation
machinery copied to clipboard

why not support custom arg type?

Open gdlxSong opened this issue 2 years ago • 0 comments

current supported task argument type

// construct custom type codec
type Codec interface{
    Encode() ([]byte, error)
    Decode([]byte) error
}

// register custom type.
Reggister("costum type name", codecInstance)

gdlxSong avatar Aug 01 '22 03:08 gdlxSong