I want spew's one-shot formatting APIs Sdump(a ...interface{}) string , Sprintf(format string, a…
I want spew's one-shot formatting APIs Sdump(a ...interface{}) string , Sprintf(format string, a…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Assuming the sample types below are declared in package main , for type ID string with func (v ID) String() string {…
The task
Assuming the sample types below are declared in package `main`, for `type ID string` with `func (v ID) String() string { return "id=" + string(v) }`, `spew.Sprintf("%v", ID("a7"))` should return `id=a7`, `spew.Sprintf("%#v", ID("a7"))` should return `(main.ID)id=a7`, and `spew.Sdump(ID("a7"))` should return…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.