SaverLoader must be implemented by struct types.
| 208 | |
| 209 | // SaverLoader must be implemented by struct types. |
| 210 | type SaverLoader interface { |
| 211 | // StateSave saves the state of the object to the given Map. |
| 212 | StateSave(Sink) |
| 213 | |
| 214 | // StateLoad loads the state of the object. |
| 215 | StateLoad(context.Context, Source) |
| 216 | } |
| 217 | |
| 218 | // Source is used for Type.StateLoad. |
| 219 | type Source struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…