*Website:* https://aahframework.org
*Documentation:* https://docs.aahframework.org
*Release Notes:* https://docs.aahframework.org/v0.8/release-notes.html
Please give it a try aah web framework and share your inputs. Your feedback
is very valuable. Thanks.
Cheers,
Jeeva
--
You received this me
On Sat, Sep 2, 2017 at 12:50 AM, wrote:
> Feel free to give me feedback on how I can improve the code or the project
> setup, etc.
I had a quick look. Some thoughts on style, in no particular order:
0. Run gofmt. Your code mixes tabs and spaces, amongst other issues.
Gofmt will fix that.
1. Ru
Great! Very kind of you
On Fri, Sep 1, 2017 at 11:01 AM, peterGo wrote:
> Michael and Sebastien,
>
> Since my bytconv package is currently private, I'm fixing it up for
> publication. I hope to make bytconv available in go get'able form within a
> week. I'll let you know when it' is avalable.
>
Thx
i uninstalled 1.9, reinstalled 1.8.3 and the error persisted.
In the turned out, chromeos needed a bootstrap installation (using crew
install).
all the best
Andreas
On 1 September 2017 at 02:34, Ian Lance Taylor wrote:
> On Thu, Aug 31, 2017 at 12:51 PM, abriese wrote:
> > ~/Download/ $
Maybe I misunderstood your need, but I would just call the A method
directly like below.
type A struct{}
func (a *A) private() {}
func (a *A) Public() {
a.private()
}
type B struct {A}
func (b *B) private() {
b.A.private()
}
bi := B{}
b.Public() //calls the A.Private
Le vendredi 1 s
I solved it for now using composition and Constructors
func NewA() {
r := A{}
r.private = privateForA
}
func NewB(){
r := B{}
r.private = privateForB
}
I saw using constructors in a few builtin packages so I guess is ok.
On Friday, September 1, 2017 at 5:50:52 PM UTC+3, BeaT Adrian w
On Fri, 1 Sep 2017 07:32:34 -0700 (PDT)
mspre...@us.ibm.com wrote:
> that a variable is considered _addressable_ and that's all there is to it.
> Now, in C and other such languages, there is a critical distinction about
> addresses that is relevant: is the address on the stack or on the heap?
If I right understand your wish, you need to use FindStringSubmatch.
On Wed, Aug 30, 2017 at 9:18 AM Marcus Franke
wrote:
> On Mon, Aug 28, 2017 at 07:37:52PM -0700, Hugh S. Myers wrote:
> > (.*) is greedy… try ([^\[]+) this should consume all till it runs into
> the
> > open bracket, your next
On Fri, Sep 1, 2017 at 7:32 AM, wrote:
>
> This just bit me. I wonder if the discussion above missed the critical
> point. Looking at https://golang.org/ref/spec#Address_operators, I see that
> a variable is considered _addressable_ and that's all there is to it. Now,
> in C and other such lan
Based on the feedback I received, I've started a new little go project on
Github - https://github.com/Baggerone/gopixels2svg
Feel free to give me feedback on how I can improve the code or the project
setup, etc.
To get a quick idea of how to use it, look at *TestWriteSVGToFile *in
*pixels2svg_
actually, you just remove all old version golang directory and download 1.9
&& tar will work for me
On Thursday, August 31, 2017 at 6:47:37 AM UTC+8, rob wrote:
>
> Ubuntu 16.04 amd64
>
> I d/l the tar.gz file and followed the instructions to install it to
> /usr/local/go and set $PATH, $GOPATH
This just bit me. I wonder if the discussion above missed the critical
point. Looking at https://golang.org/ref/spec#Address_operators, I see
that a variable is considered _addressable_ and that's all there is to it.
Now, in C and other such languages, there is a critical distinction about
a
On Fri, Sep 1, 2017, at 10:00, Tong Sun wrote:
> For normal Go way, should I name the string function `*String*()` or `
> *ToString*()`?
If you want your type to satisfy the `fmt.Stringer' interface
(https://godoc.org/fmt#Stringer) the method should be named `String'.
—Sam
--
You received this
fmt.Sprint returns a string. You're not assigning it to a variable, so it's
"lost."
--
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...@google
Hi,
What's wrong with my usage of `fmt.Sprint` in this code:
https://play.golang.org/p/ypzfUF_xXA
BTW,
For normal Go way, should I name the string function `*String*()` or `
*ToString*()`?
Thanks
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
Hello, I ran into a strange scenario and I wanted to know if there is a
better solution for it
type A struct{}
func (a *A) private() {}
func (a *A) Public() {
a.private()
}
type B struct {A}
func (b *B) private() {}
bi := B{}
b.Public() //calls the A.Private
I just want to rewrite a sma
Recently I have written a program for palindrome, I thought it would be
really simple and efficient to check whether a number is palindrome or not,
using []byte.
I thought that go had bytconv package just like strconv, but it doesn't.
I searched in internet for a very long time, trying to conver
On Thu, 31 Aug 2017 05:49:57 -0700 (PDT)
"'Niko Schwarz' via golang-nuts" wrote:
> I think it's ok to ask in Russian on this group, too.
Бусад хэл дээр дэлгэрэнгүй техникийн яриа хэлэлцээ хийх боломжтой юу? Энэ нь
хүлээн зөвшөөрөгдсөн үү? OP төгс богино асуултыг бичсэн: "Би өөрийн хэлээр
ярьдаг
On 1 September 2017 at 08:49, Sebastien Binet wrote:
>
> I'd also be very interested in looking at 'bytconv'. And most probably
> should use it in anger :)
>
I've written my own bytconv.Atoi in two projects where it gave a nice
speedup, so +1 to this.
--
You received this message because you ar
Hi,
I'd also be very interested in looking at 'bytconv'. And most probably
should use it in anger :)
-s
sent from my droid
On Aug 31, 2017 8:28 PM, "Michael Jones" wrote:
> Nice! Is "bytconv" shared somewhere?
>
> On Thu, Aug 31, 2017 at 10:53 AM, peterGo wrote:
>
>> Michael,
>>
>> n your co
20 matches
Mail list logo