packagemainimport"fmt"typeMetastruct{Servers[]CubeServer`json:"servers,omitempty"`}func(meta*Meta)Seek(dict_namestring,inputstring,outputstring)(errerror){varserverCubeServerfor_,s:=rangemeta.Servers{ifs.Name==dict_name{server=sbreak}}ifserver.Name!=dict_name{err=fmt.Errorf("%s server not exist",dict_name)returnerr}err=server.Seek(input,output)returnerr}