Carlana
Carlana
In the current version of Go, if you put a package inside a directory called internal, it becomes unimportable by external packages. The Go team has said the parse tree...
You can’t get users to input structured data.
@tyro-jason I've run into that bug too. A quick fix seems to be changing from "go_type": "time.Time" to ``` "go_type": { "import": "time", "type": "Time" }, ```
@OscarVanL Please try out #54 which has this functionality. It's currently available as v0.22.4-alpha3.
In the specific case of an oauth refresh token, I think you can and should do it as [a custom transport](https://pkg.go.dev/golang.org/x/oauth2#Transport.RoundTrip).
I'm closing this because what I really need feedback on is #54.
Yes, per se this isn’t so bad. It mostly just hides bugs when you accidentally send two objects. But it makes it easier to do a confused deputy attack, so...
Is anyone working on this for 1.21?
A concern I've had with EqualFunc before is it compares length first, so you can't use it if you want to consider m1 and m2 the same if any keys...
Can we get a decision on #52427 before this is merged, to nail down the constraints package issue?