SoFunction
Updated on 2025-03-05

Example of usage of anonymous structures in Go language

package main
    
import (
    "fmt"
)
    
func main() {
    var user struct{Name string; Gender int}
    = "dotcoo"
    = 1
    ("%#v\n", user)
}