logo-MindMajix
PostGoLangGoLang
A
Anusha V

Posted on 21st June 2024|59 views

0
votes

Golang Anonymous Struct

What is an anonymous struct in Golang?

1 answers
Answers
P
kumar san

Posted on 21st June 2024| views

An anonymous struct means a struct including no explicitly described derived struct type. However, within the case of an anonymous struct, we do not specify any derived struct type also we build a struct by determining the inline struct type including initial values of that struct fields within the identical syntax.

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number