Hi. I have reflection based question.
I need to store type of struct passed to func and later based on this
stored type reconstruct empty needed struct.
Does this possible ?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this
On Sat, Jul 20, 2019 at 9:28 AM Vasiliy Tolstov wrote:
> Hi. I have reflection based question.
> I need to store type of struct passed to func and later based on this stored
> type reconstruct empty needed struct.
> Does this possible ?
Not sure I understood the question: https://play.golang.or
On Fri, Jul 19, 2019 at 10:39 PM Cassandra Salisbury wrote:
>
> I encourage everyone to take a look at the code of conduct. I have had
> multiple reports from this particular thread.
I, for one, have no idea why. But I guess Kafka would be delighted by
this mysteriosity.
--
You received this m
Thanks, something like this, but i need to store type in string or []byte
in db, and based on this create new empty struct.
сб, 20 июл. 2019 г., 10:55 Jan Mercl <0xj...@gmail.com>:
> On Sat, Jul 20, 2019 at 9:28 AM Vasiliy Tolstov
> wrote:
>
> > Hi. I have reflection based question.
> > I need t
Reports of violations are not violations.
I assume the standard coc procedure kicks in to determine if violations
occurred or not.
On Sat, Jul 20, 2019, 10:24 Jan Mercl <0xj...@gmail.com> wrote:
> On Fri, Jul 19, 2019 at 10:39 PM Cassandra Salisbury
> wrote:
> >
> > I encourage everyone to take
You might want to see if dtrace can shed some light on this?
On Sat, 20 Jul 2019 at 01:25, wrote:
>
>
> On Friday, July 19, 2019 at 2:24:30 PM UTC-7, Steven Hartland wrote:
>>
>> Mat is actually running a non-standard kernel, with the ZFS filesystem
>> from the core OS replaced with a ZFS versio
If you only need any unnamed struct type you can create one with reflect
from the field information that you can write to text somewhere.
https://godoc.org/reflect#StructOf
These unnamed struct types however do not have any methods and do not
wrap embedded named type methods.
Otherwise
Hello all,
I'm pleased to announce SFTPGo
https://github.com/drakkan/sftpgo
cheers,
Nicola
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr
Two books immediately come to mind
(1) Donovan & Kernighan "The Go Programming Language", 2016
(2) Tapir Liu "Go 101", 2019 [https://go101.org/]
Book (1) is to Go what K&R is to C. The book (2) is a useful complementary
exposition. Both books assume some familiarity with programming in genera
сб, 20 июл. 2019 г. в 17:17, Martin Schnabel :
>
> If you only need any unnamed struct type you can create one with reflect
> from the field information that you can write to text somewhere.
>
> https://godoc.org/reflect#StructOf
>
> These unnamed struct types however do not have any method
Guys
I started a go project on windows that leveraged readstring to read command
line input. It blocked on Windows. I just ran my code on Linux and the
readstring does not block at all. Can someone explain this to me?
Thanks in advance,
Allan
--
You received this message because you ar
On Sat, Jul 20, 2019 at 1:48 PM wrote:
>
> I started a go project on windows that leveraged readstring to read command
> line input. It blocked on Windows. I just ran my code on Linux and the
> readstring does not block at all. Can someone explain this to me?
We will be able to help you bett
On Fri, 19 Jul 2019 18:47:36 -0700 (PDT)
Andrey Tcherepanov wrote:
> knows that there is only one reference to the remaining part,
> and that part is "small"
This "is it small"? is a check that would be performed for all, while
only tiny percent would benefit off it.
>>> I understand that it
Wow, thanks for responding guys. So I ran my exe on linux without goland
and bam the readstring blocked as needed. For some reason the ReadString
call is not blocking inside of goland. It seems like a great IDE but I
found a weird bug. On the Windows side the ReadString blocks inside of
go
show some code.
On Sat, Jul 20, 2019 at 6:15 PM Allan Edwards
wrote:
> Wow, thanks for responding guys. So I ran my exe on linux without goland
> and bam the readstring blocked as needed. For some reason the ReadString
> call is not blocking inside of goland. It seems like a great IDE but I
15 matches
Mail list logo