Search Discussions
-
Hi Go nuts, We have just released go1.4beta1, a beta version of Go 1.4. It is cut from the default branch at a revision tagged as go1.4beta1. Please help us by testing your Go programs with the ...
Andrew Gerrand
Oct 30, 2014 at 3:29 am
Nov 8, 2014 at 7:41 am -
What's up everybody, I'm Max Kit Human (<span class="m_body_email_addr" title="92bb254e52e09713aca8a5b41f3509a2" max@ishuman.me</span ) and I'm here with our lead software developer and likely future ...
Max Human - human
Oct 8, 2014 at 6:25 pm
Oct 16, 2014 at 9:21 pm -
This thing just bit me: http://play.golang.org/p/6O1KAZ_LAq I can't be the first. Is there an issue about it? I couldn't find any. In case there's not: should I open one? I feel like this is worth ...
Tomwilde
Oct 9, 2014 at 10:52 am
Oct 9, 2014 at 8:38 pm -
Hi, Do we have built-in library in Go which could be used for doing low level stuffs like Linux Kernel programming. This is because, hitherto, most of the Linux Kernel programming was done in C and ...
Mohammad Nawazish Khan
Oct 27, 2014 at 6:33 pm
Nov 2, 2014 at 10:50 am -
Hi everyone, I'm learning go by implementing modbus protocol [1]. It is pretty usable but only tested against a simulator at the moment. However, I'm facing a problem with detecting data available ...
Quoc-Viet Nguyen
Oct 26, 2014 at 9:10 am
Oct 27, 2014 at 7:01 pm -
I would like to have the keyword "in" as syntactic sugar for ":= range". So that we could write: for index, val in slice { } instead of for index, val := range slice { } -- You received this message ...
Baruchlubinsky
Oct 16, 2014 at 2:58 pm
Oct 20, 2014 at 1:43 pm -
I found this proposal in reddit <http://www.reddit.com/r/golang/comments/2hw356/idiomatic_generics_in_go/ forum: Idiomatic Generics in Go <http://bouk.co/blog/idiomatic-generics-in-go/ . It is a ...
Lars Pensjö
Oct 1, 2014 at 6:56 am
Oct 7, 2014 at 9:46 am -
i am iranian i can not access to golang.org or code.google.com with real ip . i should for access the golang.org change ip i'm very sad in iran golang Iranian experts how they communicate with you? ...
Amirtaghavi2020
Oct 17, 2014 at 3:09 pm
Oct 22, 2014 at 2:00 pm -
Hi. I'm need to pack massive data with gzip (is about 2-5 Gb each time) as i see in top output i use only one CPU. Does compress/gzip can use more that one cpu for compression? -- Vasiliy Tolstov, ...
Vasiliy Tolstov
Oct 14, 2014 at 11:46 am
Oct 16, 2014 at 8:22 pm -
I seem to be leaking a small amount of memory in every HTTPS request. Here is a trivial server: func httpHandler(w http.ResponseWriter, req *http.Request) { w.Header().Set("Content-Type", ...
Rob Napier
Oct 3, 2014 at 7:24 pm
Oct 23, 2014 at 9:42 pm -
I've been using Go since 1.0 and I love basically everything about it, the error handling, the interfaces, tooling etc etc. I write a lot of table driven tests and often have something that looks ...
Bits128
Oct 25, 2014 at 6:38 pm
Oct 31, 2014 at 6:00 pm -
Hello, Can someone suggest a lexer and parser generator like yacc to write a compiler for a small domain specific language in golang? Thank, -Gerald -- You received this message because you are ...
Gerald Stanje
Oct 21, 2014 at 9:18 pm
Oct 23, 2014 at 10:30 pm -
The Case for Go Web Frameworks <https://medium.com/@richardeng/the-case-for-go-web-frameworks-a791fcd79d47 It's been posted at Reddit ...
Horrido Hobbies
Oct 21, 2014 at 2:51 pm
Nov 5, 2014 at 1:05 am -
How do I build go-lang and go programs with PaX flags and seccomp (i.e. restricting what system calls threads can be made)? -- You received this message because you are subscribed to the Google ...
Orion Miller
Oct 25, 2014 at 8:49 pm
Oct 29, 2014 at 4:55 am -
I had problems compiling, so I walked back the things I'd done and discovered a problem the compiler wasn't pointing out as an error. I fixed it and voila, it returned me to compiled program which ...
MarkH
Oct 11, 2014 at 3:41 pm
Oct 15, 2014 at 4:07 pm -
I am trying to do the following but it des not compile ( http://play.golang.org/p/HTWEQ98MPZ): package main import "fmt" type Stack *[]int func (s Stack) Push(e int) { *s = append(*s, e) } func (s ...
Xingtao zhao
Oct 9, 2014 at 9:06 pm
Oct 10, 2014 at 1:09 am -
Hi Rob, Andrew, and all good souls in Google, Is there any internal talks in Google about getting serious about Go as a client-side language, the way gopherjs is going. I know that you already have ...
Drago Ivanov
Oct 26, 2014 at 1:29 pm
Oct 28, 2014 at 4:53 pm -
Hello, Regarding the language design, was there a reason why Go multiple return is a special case? It seems quite natural to introduce a tuple type e.g. var tup (int,string) = (5,"foobar") var x = ...
Andrewchamberss
Oct 23, 2014 at 10:00 pm
Oct 27, 2014 at 1:20 pm -
It seems that "go build -o foo foo.go" builds foo each time I issue the cmd Is there to perform incremental build if my source or dependent packages have not changed ? If this is a duplicate ...
Rneeraj Rai
Oct 25, 2014 at 5:00 am
Oct 26, 2014 at 2:36 pm -
Is it just me or is it really just bloody difficult to get anything done. I decided to stick with the author of github.com/lxn/win and try github.com/lxn/walk for GUI things. First, I see is there is ...
MarkH
Oct 15, 2014 at 4:20 am
Oct 16, 2014 at 1:56 pm -
hi my problem is sum of two array my code is : package main import ( "fmt" ) var( i int first [2]int second [2]int result [2]int ) func main(){ fmt.Println("Enter first array:\r\n") for i=0;i<2;i++{ ...
Amirtaghavi2020
Oct 16, 2014 at 7:05 am
Oct 16, 2014 at 3:50 pm -
hi all, I'm new to go, and I got some questions that I can't google it out. I'm dealing with an socket programme, and when I'm writing the server, I encounter an problem. The server will make an ...
Xiaobin She
Oct 8, 2014 at 1:43 pm
Oct 10, 2014 at 12:51 pm -
Hi all, I have a question which maybe not very go related, but came to my mind because of goroutines. I read the language specification, but I didn't remember any related topic from there or I just ...
Csn1984
Oct 6, 2014 at 10:55 am
Oct 8, 2014 at 6:46 am -
Hello gophers! I wanted to try a little bit of Go programming, so I wrote this little program. It works fine, and does what I want it to do. Hoewer I'm not so sure that it is correctly idiomatic for ...
Lukáš Němec
Oct 30, 2014 at 2:48 pm
Nov 1, 2014 at 10:01 am -
This is with regard to implementing an in process cache in go. For its implementation in C, it could be done like - struct foo { int a; int b; char c[128]; } to store it in a buffer starting at index ...
Suraj Narkhede
Oct 29, 2014 at 10:00 pm
Oct 30, 2014 at 7:34 pm -
13
Re: [go-nuts] Map of maps race condition error : "invalid memory address or nil pointer dereference"
No. Maps aren't thread safe, they are a complex data structure that can't be atomically updated. You'll need to put locks around all reads and writes if you want to use them concurrently. No values ...Jesse McNelis
Oct 16, 2014 at 11:44 pm
Oct 18, 2014 at 3:54 am -
Hi All, Wrote a quick GoLang program to parse two mild'ly heavey TSV file ( 18K lines ) and compare two files. 1. parse two TSV files 2. create a Dictionary Key (Unique product code) in the file ...
Sadhasivam Jayabalaganesan
Oct 9, 2014 at 9:43 pm
Nov 2, 2014 at 1:48 am -
Hi I am trying to write to text files on seperate go routines. Each go routine will write to its own file so there is no need for channels. The program then ends when all of the go routines have ...
Amlwwalker
Oct 29, 2014 at 3:30 pm
Oct 30, 2014 at 11:50 am -
I must create a lot of objects. My concern is to ease the work of the garbage collector, to avoid frequent and long pauses. What is your opinion about the following sentences ? - Instead of creating ...
Nicolas Riesch
Oct 26, 2014 at 8:48 pm
Oct 27, 2014 at 1:27 pm -
The high level API call to send mail using net/smtp requires a separate MTA <http://en.wikipedia.org/wiki/Message_transfer_agent <http://en.wikipedia.org/wiki/Message_transfer_agent like Exim, ...
Kiki Sugiaman
Oct 4, 2014 at 2:47 am
Oct 26, 2014 at 12:02 pm -
I'm using FuncForPC and FileLine to log some issues I working on and I have found that the line number is off by a small n compared to the complete stack trace returned by panic or runtime.Stack. The ...
Dan Kortschak
Oct 5, 2014 at 11:33 am
Oct 7, 2014 at 10:23 am -
Now,I have a Host server named hostSrv listened in 127.0.0.1:8080. Also have other two servers named logSrv,calcSrv. OK,then there is request come to connect to hostSrv, but the hostSrv can not do ...
Zhengkang727
Oct 31, 2014 at 8:18 am
Nov 3, 2014 at 8:24 am -
Hey all, I've been seeing a FD leak issue in http.Client for a while now. I've read a lot of threads on this forum about issues that sound identical, all of which seem to have been resolved for the ...
Brian Wolter
Oct 22, 2014 at 12:24 am
Oct 23, 2014 at 2:20 am -
I am doing research on segmented stack mechanisms, and in addition to academic papers, I am surveying whether segmented stack mechanism is still useful on 64-bit machines. On 64 bit machines, why ...
Yao shucai
Oct 16, 2014 at 7:49 pm
Oct 17, 2014 at 3:08 pm -
Hi *! I have a rather simple go script that by default utilizes a bunch of gophers to run a php script. The code is on github: https://github.com/peteraba/phpmetricsall/blob/master/main.go It works ...
Peter Aba
Oct 5, 2014 at 9:51 am
Oct 7, 2014 at 6:44 am -
I noticed a difference in the KeyUsage value as generated by OpenSSL and Go. While all certificates I can find are using a 7 bits KeyUsage Go is creating an 8 bit KeyUsage. Both Windows and OpenSSL ...
Paul van Brouwershaven
Oct 31, 2014 at 3:49 pm
Nov 5, 2014 at 10:32 am -
Hi guys! I wondering is any plan to improve just a tiny little errors in go. I 100% agree on the fact that errors are just values, I'm not uncomfortable with the boilerplate of error checking say: if ...
Davide D'Agostino
Oct 26, 2014 at 5:08 pm
Oct 29, 2014 at 3:55 pm -
The more I read about the making of the many various kinds of "windows" the crazier the whole thing seems. It's like the wild mess Enron made before the whole thing blew up. It seems they started ...
MarkH
Oct 21, 2014 at 9:56 pm
Oct 23, 2014 at 7:11 am -
i want creat push and pop function for stack and queue plz help me -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and ...
Amirtaghavi2020
Oct 20, 2014 at 1:50 pm
Oct 23, 2014 at 12:22 am -
Hi gophers, We've just released Go version 1.3.3, a minor point release. This release fixes the issues introduced by the previous 1.3.2 release. https://golang.org/doc/devel/release.html#go1.3.minor ...
Andrew Gerrand
Oct 1, 2014 at 4:05 am
Oct 1, 2014 at 12:38 pm -
in php we write shell for hacking site they are Malicious code how we write shell in go? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To ...
Amirtaghavi2020
Oct 30, 2014 at 5:16 pm
Nov 2, 2014 at 10:59 pm -
I've heard a lot of strong opinions of some Go software projects based on how idiomatic they are, but from what I can tell these idioms are highly subjective. Some coders say using Go reflect is not ...
Brenden
Oct 15, 2014 at 5:14 am
Oct 23, 2014 at 12:04 am -
Hi, Today we're releasing our internal process manager, named governator. governator is not a replacement for init, upstart or systemd. It's designed to run and manage programs developed by yourself, ...
Alberto García Hierro
Oct 16, 2014 at 3:55 pm
Oct 17, 2014 at 2:27 am -
For some reason I can't find a clear answer, in https://golang.org/doc/code.html or elsewhere. Which parts of my go workspace should be in git? 1. Only *subdirectories* of "src"? This means every ...
Noamtm
Oct 13, 2014 at 2:29 pm
Oct 14, 2014 at 2:51 pm -
I wanna to pass some data just like vector, list or map to Golang Is it possible except SIWG? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To ...
Zj huang
Oct 14, 2014 at 7:14 am
Oct 14, 2014 at 1:35 pm -
I've been working with net.IP a lot recently, and I've got some questions about the design choices behind it, and generally I'd like to have a discussion about it (because discussions are ...
Joshua Liebow-Feeser
Oct 9, 2014 at 6:13 pm
Oct 13, 2014 at 3:10 pm -
Hi, I'm noticing that when I'm moving my go projects to new hardware, that I'm having to go through the same 'go get ' procedure for each of the packages I'm using. Is it possible to get all packages ...
Hyungkim1 2013
Oct 11, 2014 at 3:47 am
Oct 11, 2014 at 9:17 pm -
Hi when building the https://github.com/boltdb/bolt package on Linux amd64 I get the following error message. "db.go:8:2: C source files not allowed when not using cgo: debug.c" I am using go version ...
Silvan Jegen
Oct 8, 2014 at 4:08 pm
Oct 11, 2014 at 9:30 am -
I made a minimal http and https server to benchmark with siege and found a huge performance difference. http serves 5000+ trans/sec while https averages 53 trans/sec. source ...
Col Oct Oro
Oct 10, 2014 at 12:24 pm
Oct 11, 2014 at 3:57 am -
1. I had a window on the screen, even three (though two were dysfunctional) and it worked. 2. I added a win.SetFocus(w) to change focus from the command-line box to the new window. 3. I added a ...
MarkH
Oct 9, 2014 at 9:22 pm
Oct 10, 2014 at 9:24 pm
Group Overview
group | golang-nuts |
categories | go |
discussions | 322 |
posts | 2,115 |
users | 524 |
website | golang.org |
524 users for October 2014
Archives
- June 2016 (815)
- May 2016 (1,277)
- April 2016 (1,340)
- March 2016 (1,589)
- February 2016 (1,499)
- January 2016 (1,419)
- December 2015 (1,217)
- November 2015 (1,490)
- October 2015 (1,768)
- September 2015 (2,186)
- August 2015 (2,240)
- July 2015 (2,221)
- June 2015 (2,056)
- May 2015 (1,508)
- April 2015 (2,023)
- March 2015 (2,186)
- February 2015 (2,032)
- January 2015 (2,219)
- December 2014 (2,612)
- November 2014 (1,886)
- October 2014 (2,115)
- September 2014 (2,267)
- August 2014 (2,172)
- July 2014 (2,509)
- June 2014 (337)
- May 2014 (1,260)
- April 2014 (2,795)
- March 2014 (2,914)
- February 2014 (2,640)
- January 2014 (2,720)
- December 2013 (2,487)
- November 2013 (2,527)
- October 2013 (2,610)
- September 2013 (3,038)
- August 2013 (3,302)
- July 2013 (2,235)
- June 2013 (2,929)
- May 2013 (3,816)
- April 2013 (3,080)
- March 2013 (2,963)
- February 2013 (3,401)
- January 2013 (3,865)
- December 2012 (2,603)
- November 2012 (2,493)
- October 2012 (3,246)
- September 2012 (3,469)
- August 2012 (62)