MSGP(1)

πŸ“¦ version 1.6.4, in ubuntu stonking

πŸ’– NAME πŸ’–

msgp β€” a Go code generator for MessagePack. That's the whole name, bestie, short and iconic. ✨

This is the MSGP(1) manual page from the User Commands section, so pull up a chair, grab a boba, and let's get into it. πŸ§‹πŸ’…


🌸 DESCRIPTION 🌸

okay so real talk: when you run this binary, it greets you with its usage line. Here it is, exactly as printed, no edits, no cap:

Usage of /build/golang-github-tinylib-msgp-dsJIxp/golang-github-tinylib-msgp-1.6.4/obj-x86_64-linux-gnu/bin/msgp:

And then it presents you with this menu of flags. Every single one matters, so we are going through all of them, one by one, no skipping, periodt. πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -d value β€” drops a directive onto all of your files. You can pass multiple -d flags at once (stack them like bracelets, it's allowed). Also, the 'msgp:' prefix can be omitted, so you don't have to type it out if you don't feel like it. πŸ’–
  • -file string β€” the input file. Your source, your starting point, your main character. ✨
  • -io β€” creates the Encode and Decode methods. (default true, so it's already on and thriving.)
  • -marshal β€” creates the Marshal and Unmarshal methods. (default true β€” also on by default, we love a flag that's already doing the work. 🫢)
  • -o string β€” the output file. Where the generated code goes to live its best life. πŸ¦‹
  • -tests β€” creates tests and benchmarks. (default true β€” yes bestie, tests are on by default, we love a responsible icon. 🧚)
  • -unexported β€” also processes unexported types and fields. ngl, don't forget that this changes what gets touched. πŸ”
  • -v β€” verbose diagnostics, aka it tells you everything it's thinking. 😭

Vibe check: that's every flag in the list, fr fr. No skipping, no summaries, no "you get the idea" β€” the whole roster. πŸ’œ

the cute sign-off πŸ’–

This is msgp version 1.6.4, dated April 2026, and that's the manual page, mwah. Go generate some MessagePack code, bestie. πŸ’…πŸŒŸ

πŸ“¦ where this page comes from