FAQ

Search Discussions

524 discussions - 3,422 posts

  • So, Go is going on stating that "you dont need generics". Fair enough, but it seems that some of the most useful built-in types in go, namely slices, maps and channels are generic , since they ...
    Dan PartellyDan Partelly
    Sep 8, 2012 at 11:43 am
    Sep 19, 2012 at 5:34 pm
  • Its a shame that such a fantastic language is missing a better way to deal with errors. Exceptions might not be perfect, but are damn better than checking each and every function call. Or am I ...
    KnotwelkumKnotwelkum
    Sep 24, 2012 at 5:59 pm
    Sep 28, 2012 at 9:50 pm
  • today, I test, go and node.js are nearly the same performance. 今天个试了一下,两者性能差不多。 --
    Umu618Umu618
    Sep 26, 2012 at 9:17 am
    Aug 17, 2014 at 10:50 pm
  • Hello there, I'm trying to figure out a way to properly return a type of nil value but for a struct in a function. I have a function that returns a struct and error types. When it runs into an ...
    Ji H ParkJi H Park
    Sep 29, 2012 at 6:50 am
    Dec 30, 2013 at 1:13 pm
  • What do you reckon is the best IDE for the go language? What makes it good / bad? Im going to setup a go development environment and I'd like to review the opinions of this community before I settle ...
    Kim EikKim Eik
    Sep 7, 2012 at 1:53 pm
    Mar 7, 2014 at 3:50 am
  • I have been wanting to do this but I have been wondering if there is going to be an easy way to deal with memory management. Should I recompile the language with allocation or write the memory ...
    Steven RiceSteven Rice
    Sep 20, 2012 at 6:09 pm
    Sep 27, 2012 at 6:24 am
  • using c I would create a union of a 32bit integer and a four byte array, initialize the integer with an eight character hex constant and then check the first byte of the array. of course I can't cast ...
    RisRis
    Sep 18, 2012 at 9:33 am
    Sep 18, 2012 at 3:06 pm
  • Would a Plan 9 user please provide an accurate status report of the state of the Go port to the system? -rob
    Rob PikeRob Pike
    Sep 5, 2012 at 3:57 pm
    Jan 8, 2013 at 9:43 pm
  • Hi gays, I want to write a server program in Linux, and it can run in daemon without shell does golang has any pkg to implement it? I new how to write it on C, but I don't know how to implement it on ...
    Feeling4tFeeling4t
    Sep 17, 2012 at 9:30 am
    Jan 14, 2014 at 1:23 pm
  • The only time I can think of that we want to import some package and potentially not use it is when debugging. Usually it's only fmt and log that I've seen or used for this purpose. Perhaps it makes ...
    Steven DegutisSteven Degutis
    Sep 30, 2012 at 7:59 pm
    Oct 26, 2012 at 8:06 am
  • I posed some suggestions to issue tracker: http://code.google.com/p/go/issues/detail?id=4164&q=Please%20get%20rid% 20of&colspec=ID%20Status%20Stars%20Priority%20Owner%20Reporter% ...
    Alex LuyaAlex Luya
    Sep 29, 2012 at 2:42 am
    Oct 19, 2012 at 5:32 am
  • The following example comes from the spec, if this chan can only be used to send, how could others read the value that has been sent to this channel? chan<- float64 // can only be used to send ...
    Robert SandraRobert Sandra
    Sep 21, 2012 at 1:30 am
    Sep 24, 2012 at 1:05 am
  • I am doing this to delete from a slice. However, the if I need to do this on a different slice type, e.g., []*Node, I have to copy the code for a different type. The generics-support question has ...
    ChrisLuChrisLu
    Sep 18, 2012 at 4:48 pm
    Sep 19, 2012 at 11:30 am
  • All, Does anyone have any recommended ways of implementing dependency injection or inversion of control concepts in Go projects? Java has the Spring framework, .NET has the Spring.NET framework and ...
    Luke MauldinLuke Mauldin
    Sep 3, 2012 at 2:52 am
    Apr 24, 2013 at 9:12 pm
  • Digging up a old post as I have also just been bitten by this issue: Right, but Java has prevented any confusion by simply removing the distinction of pointer and value. Everything that's not a ...
    DbeaumontDbeaumont
    Sep 25, 2012 at 12:27 pm
    Sep 27, 2012 at 4:38 pm
  • I'm interested in writing Mac applications in Go, and I've been working on a bridge for a little over a week as a starter project: https://github.com/dvdw/gocoa I've read some historical posts about ...
    David WrightDavid Wright
    Sep 7, 2012 at 4:56 pm
    Sep 10, 2012 at 3:07 pm
  • Hi all, I'm currently working on my first "serious" blog post regarding Go software development, after reading http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html. It's ...
    Manuel KiesslingManuel Kiessling
    Sep 4, 2012 at 4:10 pm
    Oct 1, 2012 at 3:44 pm
  • I've seen this in a lot of code (... well, enough to make me ask about it): func foo(...) (status bool, err error) { // ... } func bar(...) (status bool, err error) { if b, err := foo(); err != nil { ...
    Larry ClappLarry Clapp
    Sep 28, 2012 at 6:28 pm
    Sep 29, 2012 at 3:26 pm
  • I've just pushed updated versions of the Tour (Thanks Christoph!) and Playground to tour.golang.org and play.golang.org. Please let me know if you encounter any bugs. Andrew --
    Andrew GerrandAndrew Gerrand
    Sep 13, 2012 at 5:47 am
    Sep 20, 2012 at 12:32 am
  • If you were to write a gaming library, would you use really a language like Go that leans heavily on garbage collection or a language that can be safely used without the GC like Rust (ideal for ...
    ArchosArchos
    Sep 27, 2012 at 2:44 pm
    Oct 3, 2012 at 3:09 pm
  • Hi, I am using the following example as on the main go docs : http://golang.org/pkg/net/http/#ListenAndServeTLS I did a performance check on Windows 7 64 Bit for HTTPS connections and it is ...
    RaheelgupRaheelgup
    Sep 8, 2012 at 5:47 pm
    Sep 13, 2012 at 12:03 pm
  • Hi all, I am trying to use reflect pkg to create my own "new()" function, such as fund Newobj(x string) Value, inside my function, i will invoke Go's build-in new() to create the obj. the parameter x ...
    Robert SandraRobert Sandra
    Sep 14, 2012 at 5:54 pm
    Sep 16, 2012 at 12:51 am
  • Code example: http://play.golang.org/p/0RQNesP2IC I understand that struct data is separated from struct methods, but I couldn't think of any practical reasons where this would be a good idea and not ...
    BeatgammitBeatgammit
    Sep 12, 2012 at 1:03 am
    Sep 13, 2012 at 2:31 pm
  • Hi, I want to use SQLite with my Golang Application on Linux and I wanted that the sqlite library be present in my own Application folder. So firstly created a library file in a subfolder mydb : gcc ...
    RaheelgupRaheelgup
    Sep 17, 2012 at 3:39 am
    Oct 10, 2012 at 4:27 pm
  • EOM
    Steven DegutisSteven Degutis
    Sep 6, 2012 at 7:34 pm
    Sep 11, 2012 at 10:17 am
  • Hi everyone, I got a little project that seemed perfect for my first dive into golang. We have over 2000 rewrites in our apache config files at work as a result of a major CMS migration and trying ...
    Bowman JosephBowman Joseph
    Sep 5, 2012 at 4:57 pm
    Sep 6, 2012 at 1:34 pm
  • I'm testing 'helloworld' Node.js, Python-Flask, and Go web servers using 'ab' (also siege). Seems that Go is running out of sockets (regardless of ab or siege), while Node & Python are just fine ...
    Tristan WietsmaTristan Wietsma
    Sep 20, 2012 at 4:16 pm
    Feb 27, 2013 at 4:08 pm
  • gowatch is a command line dev tool It watches your dev folder for modified files, and if a file changes it restarts the process. - `gowatch -test` will run `go test` on the folder - `gowatch -build` ...
    RoboTamerRoboTamer
    Sep 25, 2012 at 9:52 am
    Sep 28, 2012 at 6:46 pm
  • I hope that this is possible some how, since I been trying to solve this from different angles<https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/XuWuPBbT66g And I feel like I am running ...
    RoboTamerRoboTamer
    Sep 24, 2012 at 4:58 am
    Sep 24, 2012 at 8:52 pm
  • I'm not sure if this would be better suited for 9fans or some other list, but being that it involved gofmt, I figured I'd start here. Lately, I've become enamored with acme in p9p and I've been ...
    Christopher HobbsChristopher Hobbs
    Sep 4, 2012 at 4:23 am
    Sep 24, 2012 at 4:01 am
  • I have some background in phonological science. Despite the lack of built-in support, one of the things that most excites me about Go is the potential for doing interesting things with audio data. In ...
    David WrightDavid Wright
    Sep 26, 2012 at 3:07 am
    Oct 15, 2012 at 3:33 am
  • Hello gophers, I'm running a server written in Go. It serves a lot of concurrent connections, perhaps many millions per process. Currently I don't know how to measure the accurate memory size used, ...
    Jingcheng ZhangJingcheng Zhang
    Sep 1, 2012 at 3:58 am
    Sep 7, 2012 at 3:27 pm
  • I installed go using the windows installer and I have the liteIDE which works great. I would like to connect to the outside world through c. I want to be able to have some sort of GUI and drawing ...
    OptproductsOptproducts
    Sep 30, 2012 at 1:45 pm
    Oct 4, 2012 at 9:56 am
  • 在 2010年7月5日星期一UTC+8下午7时01分52秒,Archos写道: --
    软刀软刀
    Sep 27, 2012 at 5:21 pm
    Sep 30, 2012 at 8:29 am
  • Hello, I have a relatively simple calculation. I have a list of approx 4000 matrices of float64 numbers and for every pair of them I need to compute the differences of the corresponding matrix ...
    Jirkadanek7Jirkadanek7
    Sep 15, 2012 at 4:02 pm
    Sep 17, 2012 at 12:06 pm
  • Can anyone explain to me the reason that this error occurs when a function appends? Example: package main func save(obj chan int, store []chan int) { append(store, obj) } func main() { store := ...
    Steven RiceSteven Rice
    Sep 14, 2012 at 1:59 pm
    Sep 14, 2012 at 11:28 pm
  • It seems like there's a missing for-loop form in Go that makes it a pain to emulate while loops as in other languages when dealing with multiple return values. Specifically, I wanted something like ...
    Aston MotesAston Motes
    Sep 4, 2012 at 11:38 pm
    Sep 7, 2012 at 2:53 pm
  • ...toolkit, we could build stand-alone GUI programs packing browser + server. It would not have to take standards too seriously. Does this make any sense? --
    Anssi PorttikiviAnssi Porttikivi
    Sep 28, 2012 at 2:51 pm
    Feb 4, 2013 at 4:22 pm
  • I have half a mind to experiment with writing my own google-chat-based instant messenger in the next year, and Go seems like a great language to do this in. Does anyone recommend a particular library ...
    Steven DegutisSteven Degutis
    Sep 6, 2012 at 1:59 am
    Oct 16, 2012 at 6:11 pm
  • farray stands for Flexibal Array So far farray can hold int and strings. It is still limited to int index keys b := farray.New(1, 2, "three", 4, "five", 6) b.Add("appending") i := b.Get(2) // result ...
    RoboTamerRoboTamer
    Sep 26, 2012 at 5:32 am
    Sep 27, 2012 at 8:12 am
  • I've been trying to get auto-complete-mode to be activated by default with go-mode in Emacs, but my efforts so far have been futile. More details on this question at stackoverflow ...
    Tahir HashmiTahir Hashmi
    Sep 6, 2012 at 5:08 am
    Oct 30, 2012 at 8:52 pm
  • How do I use a struct that has been defined in the main application, in a module / library. I am keep getting this error: // main.go package main import ( "gotamer/cfg" "gotamer/e" ) var Cfg JsonCfg ...
    RoboTamerRoboTamer
    Sep 8, 2012 at 7:55 am
    Sep 8, 2012 at 6:50 pm
  • Here's a minimal program that does very little. Yet, while running its allocated memory grows: package main import ( "fmt" "runtime" "time" ) func main() { runtime.GOMAXPROCS(runtime.NumCPU()) var m ...
    John Graham-CummingJohn Graham-Cumming
    Sep 5, 2012 at 8:32 pm
    Sep 6, 2012 at 1:23 pm
  • A while ago, I think about 50,000 years ago in Internet time, there was some mention of a next generation garbage collector using reference counting. Did anything ever come of that? Personally, I'm ...
    Hans StimerHans Stimer
    Sep 1, 2012 at 8:01 pm
    Sep 3, 2012 at 1:19 pm
  • I was fiddling with an incredibly naive Fibonacci number generator and noticed that the go build times for my program were fluctuating wildly with very minor changes to the code. Running go build ...
    DarkgrayDarkgray
    Sep 24, 2012 at 1:43 am
    Sep 25, 2012 at 3:29 pm
  • session is very important in the Web development, but the Go language standard library inside without any session implementation. it's not convenient in the Web application development. So I want to ...
    Asta XieAsta Xie
    Sep 24, 2012 at 10:07 am
    Sep 25, 2012 at 2:25 am
  • Hi, We have a need to have hermetic builds that use some of the code.google.com/p libraries. So, I'd like to download the current versions of those libraries, and use them locally in our build ...
    Jason RosenbergJason Rosenberg
    Sep 17, 2012 at 10:14 pm
    Sep 24, 2012 at 3:29 am
  • Hi, I want to know whether it is possible to implement the automatic package import feature for GO IDE . I come from the java community, and I feel comfortable with Eclipse. When I come to the Go, ...
    Chuanlei NiChuanlei Ni
    Sep 22, 2012 at 6:55 pm
    Sep 23, 2012 at 3:39 pm
  • Do you think if we can create a mocking library that can be comparable to other languages like Scala? http://scalamock.org I really like Go but the lack of support for a good mocking library has been ...
    Trung PhamTrung Pham
    Sep 13, 2012 at 4:29 am
    Sep 14, 2012 at 4:38 am
  • Don't know how to search for this, what terms to use. I am wondering if it is possible to look in to a compiled Go program and extract information. Actually I am sure some of you could do that but ...
    RoboTamerRoboTamer
    Sep 9, 2012 at 8:56 am
    Sep 9, 2012 at 2:37 pm
Group Navigation
period‹ prev | Sep 2012 | next ›
Group Overview
groupgolang-nuts @
categoriesgo
discussions524
posts3,422
users558
websitegolang.org

558 users for September 2012

RoboTamer: 108 posts Rémy Oudompheng: 98 posts Jan Mercl: 92 posts Kyle Lemons: 82 posts Archos: 77 posts Dan Kortschak: 69 posts Larry Clapp: 69 posts Minux: 68 posts Dave Cheney: 63 posts Patrick Mylund Nielsen: 60 posts Jesse McNelis: 57 posts Rob Pike: 53 posts Kevin Gillette: 48 posts : 47 posts Dan Partelly: 45 posts Steven Rice: 43 posts Ian Lance Taylor: 38 posts Michael Jones: 38 posts DisposaBoy: 36 posts Peter S: 35 posts
show more