a simple doubt in go. It might be silly stupid.
                  
                  
                  When i try to serialize struct using json.Marshal , i am getting an empty dict.  can u guys pinpoint my mistake?. thanyou in advance and posting code snippet below ..!
                  
                  
                  https://pastebin.com/B2ecmuSf
                  
                  
                
First character of your struct fields should be uppercase if you want to encode it to json
Обсуждают сегодня