On Mon, Jul 1, 2024 at 12:04 PM Hugh Myrie wrote:
>
> I am trying to preserve special characters (group separators and field
> separators) when reading the request body from a POST request.
>
> When I do a dumpRequest I am able to see the special characters (Hex Format,
> for example: \x1c or \x
+1 on this.
At the moment, every module that needs a set implementation ends up
creating its own, either using map[T]struct{} or map[T]bool. Having a set
implementation in the standard library would significantly increase
operability between modules, even if the implementation is trivial.
On
I am trying to preserve special characters (group separators and field
separators) when reading the request body from a POST request.
When I do a dumpRequest I am able to see the special characters (Hex
Format, for example: \x1c or \x03). I am sending the data from the client
as text/plain.
I
Some time ago, Ian started a discussion about a potential proposal for a
container/set package: https://github.com/golang/go/discussions/47331
The main point of uncertainty was iterating over elements. Now that
iteration is solved in Go 1.23, is it perhaps time to advance this design
and turn i
On Mon, Jul 1, 2024 at 5:45 AM 杨杰 wrote:
>
> i implement an goroutine profile which use frame pointer to get traceback.
>
> it need stop and restart the world with 100hz.
>
> is this operation expensive?
Yes.
Since the concern is profiling, I'll note that it will also
significantly affect the pr
https://go.dev/doc/faq#different_method_sets
I am referring to this paragraph that in my opinion answers one of the
trickiest questions for new Go developers.
*Even in cases where the compiler could take the address of a value to pass
to the method, if the method modifies the value the cha
i implement an goroutine profile which use frame pointer to get traceback.
it need stop and restart the world with 100hz.
is this operation expensive?
see https://github.com/felixge/fgprof/issues/31
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" gro