python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
A design question about Go's map and slice troubled me a lot
Why does Go's slice has 'replication trap', but map does not?
Suppose we have a function that takes slice as an input parameter, and if slice is expanded in the function, only the copied slice structu...
qizong007
Votes: 0
Answers: 2
How to ensure that a Struct that is made up of channels and map gets passed by reference?
I have the following struct that contains channels and a map for storage of data. I want to be able to pass that struct into functions in order to make use of those channels so that once they are trig...
AC007
Votes: 0
Answers: 1
Unable to parse Golang map and nested json
I have below snippet
func fakeGetInclusterConfig() (*corev1.ConfigMap, error) {
configMap := &corev1.ConfigMap{
Data: map[string]map[string]string{"cluster-config.js...

ambikanair
Votes: 0
Answers: 1
how to convert map[string]interface{} data to struct
I do not know how to ask, so i will ask with an example.
I have some data like that
{
..
"velocityStatEntries": {
"8753": {
"estimated": {"value...

yabadabaduhast
Votes: 0
Answers: 1