46:11: w.Annotations
undefined (type V has no field or method Annotations)
Name and Annotations are methods available in both the Deployment and the
StatefulSet structs.
Thanks.
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed to the Google Groups
is the recommended way now.
Also, we are in GCP and so if there is some easy hack to get this deployed
in GCP via a single click or some such, that will also be good. Any
pointers ?
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed to the Google
>
> if `ws.Read` returns after a reasonable timeout, you can perform a
> non-blocking receive on the quit channel to see if it has been
> closed/something has been sent to it:
>
> select {
> case <-quit:
> break
> default:
>
> I had the same situation and this worked perfectly:
>
> replace mylib => ../mylib
>
> If it doesn't - check paths, name of the "mylib" module, etc
Thanks. It worked. I strongly feel like I tried the same yesterday and
it didn't work, but probably mis-typed the name in the module.
--
You
> Then why are they in a monorepo?
>
> AFAIK monorepos for strictly controlled dependenies and easier refactorings.
>
> If two part needs different versions for something common, then they should
> live and evolve separately.
This is a subset of a larger mono-repo. This repo has sources for
> Use one go.mod pee repo.
That won't be possible. It is a monolithic repo. svc1 and svc2 may
need two different versions of a common dependency.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving
> You could try moving mylib to your $GOPATH/src/, and
> import "mylib"
> in the services.
I tried that but could not get `go run cmd/svc1.go` from trying to
checkout a non-existent url (for the `mylib`). Can you share the
contents of the `go.mod` file for svc1 and mylib ?
--
You received
3-acd7-4fcd-8178-fb99a2e56028%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/09bb6e93-acd7-4fcd-8178-fb99a2e56028%40googlegroups.com?utm_medium=email_source=footer>
> .
>
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are sub
sage because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/golang-nuts/cs1DE0jOOfA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> gola
n Mon, 15 Apr 2019 at 11:32, Sankar P wrote:
>
>> Playground url: https://play.golang.org/p/tDT7xCJJ_XN
>>
>> திங்., 15 ஏப்., 2019, பிற்பகல் 4:01 அன்று, Sankar <
>> sankar.curios...@gmail.com> எழுதியது:
>>
>>> I have the following go code:
>>>
ics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe fro
gt; day := "123819283" // Invalid day
>>
>> }
>> ```
>>
>> I want to evaluate if the string variable `day` is one of the valid
>> permitted values for the [Ww]eekday custom type. What is the recommended /
>> right go way of doing this ?
>&g
tps://github.com/golang/go/wiki/Modules but I could not find out any
>> recommended way for this. Any help on how I can do this ? Do I need to
>> create `cmd` or `src` folders in our git repo ? OR do we need to do
>> something else ? Any links for blogposts, tutorials, documentation, videos
>&
.org/p/BJM0H_rYNdb
>>
>> If someone can explain the output I would be thankful. It feels like a
>> bug to me, but I am sure that I am only misunderstanding and it may not be
>> a bug.
>>
>> Thanks.
>>
>>
>> 2018-05-23 11:45 GMT+05:30 Sankar P <sa
sure that I am only misunderstanding and it may not be a
bug.
Thanks.
2018-05-23 11:45 GMT+05:30 Sankar P <sankar.curios...@gmail.com>:
> Use an array instead of a slice. An array has a fixed size and can be used
>> as a key to a map
>>
>> https://play.golang.org/p/x
t;> Appending: [-1 -1 2]
>> Final arr is: [[-1 -1 2] [-1 -1 2]]
>>
>> I am not really able to understand why the above code works so. The
>> "Appending" and the "Final arr" statements have different values.
>>
>> --
>> Sankar P
>>
so. The
"Appending" and the "Final arr" statements have different values.
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails
too after I feel satisfied with the code.
2018-05-14 20:54 GMT+05:30 Sankar P <sankar.curios...@gmail.com>:
> 2018-05-14 20:39 GMT+05:30 <matthewju...@gmail.com>:
>
>> They might have been looking for something like this:
>>
>> github.com/psankar/network-monit
gt;>
>> Thanks.
>>
>> Sankar
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/golang-nuts/SpoC7siQrS8
//groups.google.com/d/
> topic/golang-nuts/SpoC7siQrS8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Sankar P
http://psankar.blogspot.com
essage because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/golang-nuts/HxLT6NlzKlY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> gola
t;>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/golang-nuts/HxLT6NlzKlY/unsubscribe.
> To unsubscribe from this group and all its top
Hey Googlers,
Any help on this ? I would love to choose GCE, but will have to go with AWS
if there are no updates here. Thanks.
31 ஜன., 2018 முற்பகல் 12:08 அன்று, "Sankar"
எழுதியது:
> Hi
>
> When is Golang support for Cloud functions in GCP expected ? I am starting
provides a more
> "conventional" environment for your programs. There are some tradeoffs
> compared with App Engine Standard, but it should be easier to stay portable.
>
> David
>
> [1]: https://cloud.google.com/appengine/docs/flexible/go/
> writing-application-logs
>
>
, for one, though wish that there was a simpler way.
2017-11-04 12:47 GMT+05:30 Gulácsi Tamás <tgulacs...@gmail.com>:
> Sth. along https://play.golang.org/p/BwlbkxMLdw ?
>
> Sankar P <sankar.curios...@gmail.com> ezt írta (időpont: 2017. nov. 4.,
> Szo, 8:10):
>
>> Th
d/
> topic/golang-nuts/XbhcR5eFdno/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Sankar P
http://psankar.blogspot.com
--
You received this
>> Thanks.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/golang-nuts/XbhcR5eFdno/unsubscribe.
> To unsubscribe from t
; To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed
bably hard to read due to being a too
> large or too complex expression, not the line length per se. My preferred
> solution would be to split it up with a variable or two. I don't think
> there is a tool for that, it requires human consideration.
>
> //jb
>
>
--
Sankar P
http
ther layer
>> which may cause some unknown problems (performance, networking, etc.) which
>> I do not want to end up debugging.
>>
>> Any advises or suggestions or links that would help me ? Thanks.
>>
>> Sankar
>>
> --
> You received this message because you a
nd UnmarshalJSON function for the
> []Item too (after making it a custom struct) ?
> >
> > Or is this a bug, or do I misunderstand anything ?
>
> The issue is that you have defined MarshalJSON as a method with a pointer
> receiver, while the JSON marshaller will access it through an
Thank you so much Axel Wagner. I was able to get everything working, once I
added the A record. Everything worked so magically together correctly :)
2017-06-07 23:33 GMT+05:30 Axel Wagner <axel.wagner...@googlemail.com>:
> On Wed, Jun 7, 2017 at 7:22 PM, Sankar P <sankar.curios.
hould I be doing extra ?
Thank you everyone for the responses.
--
Sankar P
http://psankar.blogspot.com
--
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 i
t;>
>> Sankar
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/golang-nuts/sTsDhJLKTqU/unsubscribe.
> To unsubscribe
/d/to
>>> pic/golang-nuts/sTsDhJLKTqU/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> golang-nuts...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
&
-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop re
ribe.
> To unsubscribe from this group and all its topics, send an email to
> golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed to t
sent or not. Using a pointer is how the Go
> implementations indicates whether the field is present.
>
> This is better in proto3. If you can switch to proto3, do so.
>
> Ian
--
Sankar P
http://psankar.blogspot.com
--
You received this message because you are subscribed to the Googl
2016-07-11 15:34 GMT+05:30 Sankar P <sankar.curios...@gmail.com>:
>> I don't know if it does what you want, but have you looked at
>> https://godoc.org/rsc.io/pdf ?
>
> It seems to be unmaintained. I tried loading a complex PDF with plenty
> of tables and it hung i
> I don't know if it does what you want, but have you looked at
> https://godoc.org/rsc.io/pdf ?
It seems to be unmaintained. I tried loading a complex PDF with plenty
of tables and it hung infinitely on Content() call in the first page.
I lost interest after that. Thanks.
--
Sankar
is 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...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/opto
41 matches
Mail list logo