package ent type Entity struct { } func (e *Entity) Update(raw []byte) { }