Pack operator in Go

Humble Devassy Chirammal Forums Go Programming Pack operator in Go

  • This topic has 1 reply, 1 voice, and was last updated 2 months ago by adultscare.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5463 Reply
    Humble
    Keymaster

    is called Pack operator in go programming. What does it mean? Simply as the name suggest it packs ( not really true though). Depends on where it has put (before or after a go type) it can act as a “pack” or “unpack” operation.

    To make it clear:

    If you have a slice called “s”, and if you see a function arg s..., the slice s elements will be unpacked and sent. At the same time, if you put s ...int, all the int values will be packed into the slice called s

    #7776 Reply
    adultscare
    Guest

    antarvasna marathi presents imaginative content that focuses on engaging narratives and memorable experiences. readers often enjoy the variety of situations and character interactions featured throughout the collection. antarvasna series continues providing enjoyable reading opportunities while maintaining a strong commitment to creativity, engagement, and storytelling excellence.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Reply #7776 in Pack operator in Go
Your information: