What is new in Golang 1.21? Compared to the 1.20 release, the Go team added new built-in functions to the language and new standard library packages. There are a lot of features, but there are seven I want to call out:
■ New "log/slog" package
■ Toolchain support
■ "go:debug" directive
■ New "min", "max" and "clear" built-in functions
■ New "slices" package
■ New "maps" package
■ New functions in "context" package
■ Examples: https://github.com/MarioCarrion/video...
■ Learning Golang: Context package: Cancellations, Deadlines and Request-scoped values: • Learning Golang: Context package: Can...
== Installing
■ https://go.dev/dl/#go1.21
■ https://go.dev/doc/go1.21
■ All API changes: https://github.com/golang/go/issues/5...
■ "go install": https://x.com/golang/status/168893436...
■ MacOS Homebrew: brew upgrade go
== All Go/Golang Playlists
■ Software Architecture in Go/Golang: • Software Architecture and System Desi...
■ Building Microservices in Go/Golang: • Building Microservices in Golang/Go
■ Go/Golang Tools and Packages: • Golang/Go Tools and Packages
■ Learning Concurrency Patterns in Go/Golang: • Learning Go/Golang Concurrency Patterns
■ Learning Go/Golang : • Learning Go/Golang
■ Learning Relational Databases in Go/Golang: • Learning Go/Golang: Relational Databases
■ Testing in Go/Golang: • Testing in Golang/Go
00:00 - Intro Golang 1.21
00:10 - How to install
00:42 - New "log/slog" package
00:58 - Toolchain support
01:38 - "go:debug" directive
03:35 - New "min", "max" and "clear" built-in functions
05:05 - New "slices" package
06:12 - New "maps" package
07:19 - New functions in "context" package
11:14 - Conclusion
=== Who am I?
Hello 👋🏼! My name is Mario, and I am a Hands-on Software Architect and Lead Backend Engineer with decades of professional experience building all kinds of software, such as on-premise Automation Systems, Linux Accessibility Desktop Applications, Cloud Governance and Compliance Systems, and Distributed Cloud-based Advertising Systems.
The content I produce includes what I've learned while working for small startups and large companies and the processes I've followed for successfully delivering complex enterprise systems from start to end.
Subscribe if you like Software Development, Software Architecture, and Systems Design, and of course, Go!
Keep it up. Don't give up!
#golang #tutorial #go121
=== Follow us on Instagram for our family adventures
■ / ruby_carrion
=== Our affiliate links below
■ Technical/Non-technical Books found on Amazon: https://www.amazon.com/shop/rubycarri...
■ Amazon Storefront: https://www.amazon.com/shop/rubycarrion
■ Shop LTK page: https://www.shopltk.com/explore/RubyC...
DISCLAIMER: Some of the links shared in the description are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost. I appreciate your support! 💖
Смотрите видео Golang 1.21: What is new? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mario Carrion 30 Октябрь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,22 раз и оно понравилось 20 людям.