Results 179 comments of Kishan B

In the below code, i see the log level is accessed through the env var FLB_LOG_LEVEL https://github.com/aws/amazon-kinesis-firehose-for-fluent-bit/blob/9c442bbad45ccf975899d813bb4b319b61d21a4e/plugins/plugins.go#L31 I am not really sure has to how this env variable gets injected....

Thanks for the quick response @davecheney It is mainly because the `Start()` and `Stop()` has to be executed in 2 different places for [fluent bit go lang plugins](https://github.com/fluent/fluent-bit-go) To give...

Thanks for the example @davecheney The problem is not that it does not work, the problem is there is no named interface as far as i can see inside this...

Currently the code i implemented is same as your example. There is no problem, it works I felt it would be better if the anonymous interface has a name then...

That's a good thought @davecheney Thanks for sharing! Just so that i understand clearly, Does this mean - Don't use interfaces exposed by libraries - Only use interfaces exposed by...

If you can point me to some articles/blogs that's fine too 😊

I still dont see this as a bad idea though. For example take this issue https://github.com/golang/go/issues/35306 Go lang wants to create a named interface for the Unwrap(), As(), Is() methods

As per this https://github.com/getkin/kin-openapi#v0610 `openapi3.Swagger` has been renamed to `openapi3.T`

Also i feel the example can use `openapi3gen.NewSchemaRefForValue` to auto generate schemas from go structs https://pkg.go.dev/github.com/getkin/[email protected]/openapi3gen#example-package

https://github.com/MarioCarrion/todo-api-microservice-example/issues/1#issuecomment-879696433 I hope this would also be addressed ☺️☺️