Go flag Module - Reading Command-Line Flags in Golang!

Published: 21 March 2024
on channel: BugBytes
2,196
103

In this video, we'll dive into the Go flag module for reading command-line flags! We'll look at how to idiomatically read arguments into variables, as well as into Go structs.

Playlist ▶️:    • Go Programming  

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
05:29 Reading flags into Go Struct members
09:50 Go flag package - additional information

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io
🐦 Twitter:   / bugbytesio  

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Go html/template package: https://pkg.go.dev/html/template
HTMX: https://htmx.org/docs/#installing
Alpine.js: https://alpinejs.dev/

#golang #webdevelopment


Watch video Go flag Module - Reading Command-Line Flags in Golang! online without registration, duration hours minute second in high quality. This video was added by user BugBytes 21 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,19 once and liked it 10 people.