State slice that owns a history of entries and can be driven into single or multiple
mode. Every ToolState slice with setEntryMode implements this shape, which lets
callers (the setEntryMode tool, createMapAgent's dataEntries option, …) handle the
whole family uniformly without listing slice names.
State slice that owns a history of entries and can be driven into
singleormultiplemode. Every ToolState slice withsetEntryModeimplements this shape, which lets callers (thesetEntryModetool,createMapAgent'sdataEntriesoption, …) handle the whole family uniformly without listing slice names.