go
Go vs. Scala for realtime webapps [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-14 17:53 分类:问答Parallel distinct word count in Go
Jakob Østergaard presented this challenge: Write a program that reads text from standard-input, and returns (prints) the total number of distinct words found in the text.[详细]
2023-03-14 09:26 分类:问答Using reflect, how do you set the value of a struct field?
having a rough time working with struct fields using reflect package.in particular, have not figured out how to set the field value.[详细]
2023-03-13 16:46 分类:问答http.Handle(Handler or HandlerFunc)
How is the following function implemented? func handle(pattern string, 开发者_运维知识库handler interface{}) {[详细]
2023-03-13 12:30 分类:问答How to determine an interface{} value's "real" type?
I have not found a good resource for using interface{} types. For example package main import \"fmt\" func weirdFunc(i int) interface{} {[详细]
2023-03-13 05:39 分类:问答Passing an array to an external js through go
I have a .txt file which contains 3d points of the form (x,y,z). Using go I extract the point co-ordinates into arrays X[], Y[], Z[].[详细]
2023-03-13 00:27 分类:问答In Go, does it make sense to write non-blocking code?
coming from node.js point of view, where all code is non-blocking. In Go, non-blocking is easily achieved using channels.[详细]
2023-03-12 18:02 分类:问答Cocoa bindings for the Go language
Is it possible to write macOS/Cocoa applications in Google Go? Is there a Go-Obj-C bridge? (it seems to me that Obj-C dynamism would be a great fit for Golang\'s interfaces)[详细]
2023-03-12 13:57 分类:问答in go, why []int instead of int[]? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, r开发者_高级运维eferences,or expertise, but this question will likely so[详细]
2023-03-12 10:27 分类:问答How to support Allman Style coding in Go?
In all the projects I\'ve worked with in other languages the bracing-style of choice has been the Allman Style(aka ANSI style). The lack of a free-form bracing style(parenthesis too) is some开发者_运维[详细]
2023-03-12 08:01 分类:问答
加载中,请稍侯......