iyaozhen
iyaozhen
My tpl is `"t {{no_value}}"` and not set `no_value` in context, it return `"t "`, now. If a variable that doesn’t exist, I hope the template system will insert the...
My service maybe special, not rpc client or server. I am a http server, just load thrift file runtime, and return service meta. So, multi request has same thrift file...
demo code ```NODE const Koa = require('koa'); const bodyParser = require('koa-bodyparser'); const app = new Koa(); app.use(bodyParser({enableTypes: ['form', 'text'], extendTypes: {text: ['', undefined]}})); app.use(async function() { // the parsed body...
memcache set: ``` set ``` but python-memcached set: ``` def set(self, key, val, time=0, min_compress_len=0, noreply=False) ``` when val is `str` flags will be set `0` by `_val_to_store_info` function. ...
Demo(use v2): ```Go func TestInvokeAny(t *testing.T) { do.ProvideNamed(nil, "test", func(i do.Injector) (int, error) { return 1, nil }) int1, err := do.InvokeNamed[int](nil, "test") if err != nil { t.Errorf("invoke error:...
I have been using `do` for a while. But I have a confused about service register a typical service: ```Go type Service struct { meegoMaterial *material.MeegoMaterial[material.MeegoMeta] `do:""` docMaterial *material.DocMaterial[material.DocMeta] `do:""`...
没找到相关使用文档 大模型来了,OpenAI带火了SSE