基于GO编写一个http服务,接收JSON数组[“a“,“b“,“c“],需要返回[false,false,false],在接收[“b“, “c“]返回JSON [true,true]并编写测试用例
httpserverpackagemainimport("encoding/json""io""log""net/http""sync")var(cacheObj=NewCache()readRequestBodyError="readbodyerror"unmarshalBodyError="unmarshalbodyerror"marshalResultError="unmarshalresu