13 lines
301 B
Go
13 lines
301 B
Go
package data
|
|
|
|
import "github.com/oylshe1314/framework/errors"
|
|
|
|
func (this *ActiveTable) check() error {
|
|
for _, d := range this.l {
|
|
if len(d.NumList) != len(d.ItemList) {
|
|
return errors.Error("incorrect 'Active' table, error: len(d.NumList) != len(d.ItemList), id: ", d.id())
|
|
}
|
|
}
|
|
return nil
|
|
}
|