okhowang
okhowang
> it's unclear how to route requests and responses without a connection exactly. I work with a udp-based json-rpc protocol. in client, I can use `net.DialUDP` to get a `UDPConn`,...
> Can you please take a look if it's fixed in the latest release? test ok on v3.2.5
I want write log once state changed for debugging state machine. And args is the detail info of transition.
@qmuntal is any better way here?
Is there any progress? we got `float64` even from `select unix_timestamp('2000-01-01')`
according to https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_unix-timestamp ``` When the date argument is a [TIMESTAMP](https://dev.mysql.com/doc/refman/8.4/en/datetime.html) column, [UNIX_TIMESTAMP()](https://dev.mysql.com/doc/refman/8.4/en/date-and-time-functions.html#function_unix-timestamp) returns the internal timestamp value directly, with no implicit “string-to-Unix-timestamp” conversion. ``` it looks like a bug...
I notice `TIMESTAMP` and `DATE`/`DATETIME`/`TIME` were stored in `time.Time` it may work unexpected because they all have no timezone info. but they are processed with timezone in `time.Time`
> OpenTelemetry is a collection of APIs, SDKs, and tools. Use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) to help you analyze your software’s...
> this seems like something that could be handled by user-defined middleware. do you mean wrapping `jrpc2.Handler`? it's used in server-side. middleware (or filter) may used in client-side.
How about some third-party http library, for example [gin](https://github.com/gin-gonic/gin) ```golang r.GET("/ping", func(c *gin.Context) { doSomething(c.Request.Context()) c.JSON(http.StatusOK, gin.H{ "message": "pong", }) }) ```