Your description seems to relate to this issue
https://github.com/golang/go/issues/30667.
--
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
Hi All,
These days, spec-driven development of REST API's is quite common, and I've
had to reinvent this wheel more than once, so my gracious employer has
allowed me to open source my work.
https://github.com/deepmap/oapi-codegen
This is like protocol buffer specifications for JSON/REST. You
On Wednesday, April 24, 2019 at 2:03:01 PM UTC-7, Kurtis Rader wrote:
>
> On Wed, Apr 24, 2019 at 1:14 PM andrey mirtchovski > wrote:
>
>> Here's the lore associated with the subject: Ken wanted ternary, Rob
>> and Robert did not. They overruled Ken (remember, early on all three
>> had to agree
Agree with
Mike Schinkel
if IF become functional then useful
else if it is just a syntax change have absolutely no interest
On Thursday, April 25, 2019 at 10:20:54 AM UTC-4, Sam Whited wrote:
>
> On Wed, Apr 24, 2019, at 14:08, Mark Volkmann wrote:
> > Are there really developers that find
Hi
any luck please
On Thursday, 18 April 2019 00:12:05 UTC+3, Tyler Compton wrote:
>
> Could you provide some more details on what it is you want to do? Are you
> looking to decompile a Go executable?
>
> On Wed, Apr 17, 2019 at 12:23 PM smn shilla > wrote:
>
>> Hi all
>> Please anyone who
Here is the analoguous discussion concerning the ternary operator in Kotlin:
https://discuss.kotlinlang.org/t/ternary-operator/2116
After 168 posts to this thread where the thread creator did not want to
accept that the language needs no ternary operator, the thread was finally
closed by the
On Apr 26, 2019, at 07:12, smn shilla wrote:
>
> Hi
> any luck please
Your request (“how to crack the Go application.exe”) is vague, and it is not
immediately clear that you’re asking for help that people here might be
comfortable giving.
If you’re interested in reverse engineering Go
The library you pointed to may support other formats. If not you’ll need to
find another one or write it yourself.
If you don’t understand programming there are lots of resources you can use to
hire someone who does or learn programming.
> On Apr 26, 2019, at 1:42 AM, Nitish Saboo wrote:
>
On Thu, Apr 25, 2019 at 10:57 PM Mike Schinkel wrote:
>
> Marcus Low wrote:
>>
>> datalen := removedKeyken // removedKeyken must have been int32 in your
>> example.
>> if value != nil {
>>datalen = len(value)
>> }
>
>
> The issue with this is it makes two assignments when value != nil
Thanks for the info. Jan.My main issue is how can I access the value on Go
side after some manipulation within the C code ?
Thanks
On Fri, Apr 26, 2019 at 4:28 PM Jan Mercl <0xj...@gmail.com> wrote:
> On Fri, Apr 26, 2019 at 12:54 PM Nitish Saboo
> wrote:
>
> > Can I pass a pointer to a value
On Fri, Apr 26, 2019 at 4:41 AM Nitish Saboo wrote:
>
> Thanks for the info. Jan.My main issue is how can I access the value on Go
> side after some manipulation within the C code ?
You do it exactly as though you passed a pointer to a Go function, and
then accessed the value after the Go
On Thursday, April 25, 2019 at 10:20:54 AM UTC-4, Sam Whited wrote:
>
> On Wed, Apr 24, 2019, at 14:08, Mark Volkmann wrote:
> > Are there really developers that find this unreadable?
> >
> > color := temperature > 80 ? “red” : “green”
>
> Yes.
>
> What is "?"? If I've never seen that before
Hi,
I am not sure if the input syslog msg will come in rfc3164 or rfc5424
format.
1)What is the generic way to parse raw syslog messages in GO ?
2)Once the msg is parsed how can I find that the raw syslog msg was in
which format ? I mean was it in RFC3164 format or was it in RFC 5424 format
?
On Friday, April 26, 2019 at 9:12:06 AM UTC+3, Mike Schinkel wrote:
>
> On Thursday, April 25, 2019 at 10:20:54 AM UTC-4, Sam Whited wrote:
>>
>> On Wed, Apr 24, 2019, at 14:08, Mark Volkmann wrote:
>> > Are there really developers that find this unreadable?
>> >
>> > color := temperature >
> David Riley wrote:
> same potential for abuse (no one is gonna stop you from nesting expressions).
Yes, but only assuming it were implemented as an expression.
However, if it were instead implemented as an “if-assignment" statement?
result := if temperature > 80
then "red"
else
Hi all,
We have an unusual issue owing somewhat to Jenkins' rather odd (but
understandable) method of running things in containers. Jenkins, when it runs
things in Docker containers through its pipeline plugin, volume-mounts the
workspace directory at the same location as it is in the host
On Apr 26, 2019, at 2:12 AM, Mike Schinkel wrote:
>
> Given that, I am curious what your thoughts would be if this were possible in
> Go instead?
>
>color := if temperature > 80 then “red” else “green”
>
> And especially if this formatting were valid:
>
>color := if temperature >
Hi,
I want to call C code from GO code.Once the C code gets executed I want to
pass the value back to the GO code.
Can someone please guide me as in how to pass value back from C code to the
GO code.
Thanks
--
You received this message because you are subscribed to the Google Groups
On Fri, Apr 26, 2019 at 12:54 PM Nitish Saboo wrote:
> Can I pass a pointer to a value from Go to C, do some manipulation on it
> within the C code and access the value from Go after the C code executes ?
The first part of the question is discussed in great detail here:
On Fri, Apr 26, 2019 at 12:34 PM Nitish Saboo wrote:
>
> Hi,
>
> I want to call C code from GO code.Once the C code gets executed I want to
> pass the value back to the GO code.
> Can someone please guide me as in how to pass value back from C code to the
> GO code.
What C type the value is?
Hi Jan,
Can I pass a pointer to a value from Go to C, do some manipulation on it
within the C code and access the value from Go after the C code executes ?
Thanks
On Fri, Apr 26, 2019 at 4:09 PM Jan Mercl <0xj...@gmail.com> wrote:
> On Fri, Apr 26, 2019 at 12:34 PM Nitish Saboo
> wrote:
> >
>
I was assuming the compiler did not eliminate it. If it does then my point is
moot.
-Mike
Sent from my iPad
> On Apr 26, 2019, at 9:13 AM, Ian Lance Taylor wrote:
>
>> On Thu, Apr 25, 2019 at 10:57 PM Mike Schinkel wrote:
>>
>> Marcus Low wrote:
>>>
>>> datalen := removedKeyken //
2019. április 26., péntek 13:41:53 UTC+2 időpontban Nitish Saboo a
következőt írta:
>
> Thanks for the info. Jan.My main issue is how can I access the value on Go
> side after some manipulation within the C code ?
>
> Thanks
>
> On Fri, Apr 26, 2019 at 4:28 PM Jan Mercl <0xj...@gmail.com >
>
On Fri, Apr 26, 2019 at 5:36 AM smn shilla wrote:
>
> Hi
> any luck please
We can't help you because we don't know what you want.
You need to explain what you are after in a way that we can understand.
Ian
> On Thursday, 18 April 2019 00:12:05 UTC+3, Tyler Compton wrote:
>>
>> Could you
My main module depends on 2 other modules - ModuleA and ModuleB.
ModuleA also depends on ModuleB.
Is it possible to tell my main module to ignore ModuleB and just use the
version that ModuleA is using?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
The last time there was a big thread about this, I explained how GCC added
“value of brace block is value of last expression” to allow great power,
and a fellow poster explained how this came into being with Algol-68.
There is long history in these ideas, and much value, but Go specifically
chose
26 matches
Mail list logo