mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 11:42:03 -08:00
10 lines
340 B
Go
10 lines
340 B
Go
|
package objects
|
||
|
|
||
|
// IndexAssignable is an object that can take an index and a value
|
||
|
// on the left-hand side of the assignment statement.
|
||
|
type IndexAssignable interface {
|
||
|
// IndexSet should take an index Object and a value Object.
|
||
|
// If an error is returned, it will be treated as a run-time error.
|
||
|
IndexSet(index, value Object) error
|
||
|
}
|