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 ▶️: https://www.youtube.com/playlist?list=PL-2EBeDYMIbQRWxVjUwE4uVXKr2lnquD-
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
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
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Go html/template package: https://pkg.go.dev/html/template
HTMX: https://htmx.org/docs/#installing
Alpine.js: https://alpinejs.dev/
#golang #webdevelopment
Download
0 formats
No download links available.
Go flag Module - Reading Command-Line Flags in Golang! | NatokHD