Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Go Modules and Packages: Creating Subdirectory Packages (Ep. 4)

Автор: Coding with Verrol

Загружено: 2025-01-08

Просмотров: 297

Описание:

Learn how to organize Go packages within subdirectories of a module. This video covers the third method of package creation in Go, demonstrating how to import and use packages located in separate folders. We explore accessing exported values and best practices for package structure. This is episode 4 of our Go modules and packages series. (Ep. 4).

Key topics covered:
Setting up a GO module in the root directory.
Importing a package that resides in the same directory as the module.
Understanding the nuances of GO module dependencies.

🔗 Series Playlist:   • Golang Modules & Workspaces  
📘 Related Documentation: https://go.dev/ref/mod
💬 Have questions? Drop them in the comments below!

Source code: https://github.com/verrol/cwv/tree/ma...

Tags: #GoProgramming #GoModules #ProgrammingTutorial #learngo

0:00 Introduction
0:51 Recap
3:37 Creating Packages in Subdirectories
5:30 Accessing Exported Values and Imports
8:30 Explore Real-World Examples
10:30 Outro

Go Modules and Packages: Creating Subdirectory Packages (Ep. 4)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

array(10) { [0]=> object(stdClass)#5641 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "8QaBiE4Jf7U" ["related_video_title"]=> string(56) "Go Modules and Packages: Creating Module Versions(Ep. 5)" ["posted_time"]=> string(27) "5 месяцев назад" ["channelName"]=> string(18) "Coding with Verrol" } [1]=> object(stdClass)#5614 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "pHr179iQ6rU" ["related_video_title"]=> string(131) "Cursor AI на максималках! | 7 фичей, о которых вы не знали [rules, directory, MCP, docs, commit]" ["posted_time"]=> string(25) "3 месяца назад" ["channelName"]=> string(29) "PurpleSchool | Anton Larichev" } [2]=> object(stdClass)#5639 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "x4kqMcdXTdg" ["related_video_title"]=> string(177) "Кремль на пути к ядерному террору / Мир на грани / Ядерное сдерживание рушится на глазах /№967/ Швец" ["posted_time"]=> string(24) "11 часов назад" ["channelName"]=> string(54) "Юрий Швец -- официальный канал" } [3]=> object(stdClass)#5646 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "d6s-cMlqLZc" ["related_video_title"]=> string(94) "GO Modules Episode 002: Creating a Module & Importing Local Packages in the Root Directory" ["posted_time"]=> string(27) "6 месяцев назад" ["channelName"]=> string(18) "Coding with Verrol" } [4]=> object(stdClass)#5625 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "20sLKEpHvvk" ["related_video_title"]=> string(65) "Learning Golang: Dependencies, Modules and How to manage Packages" ["posted_time"]=> string(21) "4 года назад" ["channelName"]=> string(13) "Mario Carrion" } [5]=> object(stdClass)#5643 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "q6w9KiI8URo" ["related_video_title"]=> string(57) "Vibe Coding 101 - Полный курс (От А до Я)" ["posted_time"]=> string(23) "1 месяц назад" ["channelName"]=> string(47) "Владилен Минин | Result University" } [6]=> object(stdClass)#5638 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "dxPakeBsgl4" ["related_video_title"]=> string(50) "This Is The BEST Way To Structure Your GO Projects" ["posted_time"]=> string(19) "1 год назад" ["channelName"]=> string(6) "Melkey" } [7]=> object(stdClass)#5648 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "6DQQY0jtBJo" ["related_video_title"]=> string(94) "GO Modules Episode 003: Creating a Module & Importing Local Packages in the Root Directory" ["posted_time"]=> string(27) "6 месяцев назад" ["channelName"]=> string(18) "Coding with Verrol" } [8]=> object(stdClass)#5624 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "-RACTfDEVzc" ["related_video_title"]=> string(160) "Иран ударил по огромной базе США — и закончил войну? Трамп объявил о прекращении огня" ["posted_time"]=> string(23) "7 часов назад" ["channelName"]=> string(14) "Dmitry Kolezev" } [9]=> object(stdClass)#5642 (5) { ["video_id"]=> int(9999999) ["related_video_id"]=> string(11) "7feel2EWYZI" ["related_video_title"]=> string(76) "Learn Go Series - 3: Imports, Package Management and Project Structure in Go" ["posted_time"]=> string(21) "3 года назад" ["channelName"]=> string(12) "David Ruwadi" } }
Go Modules and Packages: Creating Module Versions(Ep. 5)

Go Modules and Packages: Creating Module Versions(Ep. 5)

Cursor AI на максималках! | 7 фичей, о которых вы не знали [rules, directory, MCP, docs, commit]

Cursor AI на максималках! | 7 фичей, о которых вы не знали [rules, directory, MCP, docs, commit]

Кремль на пути к ядерному террору / Мир на грани / Ядерное сдерживание рушится на глазах /№967/ Швец

Кремль на пути к ядерному террору / Мир на грани / Ядерное сдерживание рушится на глазах /№967/ Швец

GO Modules Episode 002: Creating a Module & Importing Local Packages in the Root Directory

GO Modules Episode 002: Creating a Module & Importing Local Packages in the Root Directory

Learning Golang: Dependencies, Modules and How to manage Packages

Learning Golang: Dependencies, Modules and How to manage Packages

Vibe Coding 101 - Полный курс (От А до Я)

Vibe Coding 101 - Полный курс (От А до Я)

This Is The BEST Way To Structure Your GO Projects

This Is The BEST Way To Structure Your GO Projects

GO Modules Episode 003: Creating a Module & Importing Local Packages in the Root Directory

GO Modules Episode 003: Creating a Module & Importing Local Packages in the Root Directory

Иран ударил по огромной базе США — и закончил войну? Трамп объявил о прекращении огня

Иран ударил по огромной базе США — и закончил войну? Трамп объявил о прекращении огня

Learn Go Series - 3: Imports, Package Management and Project Structure in Go

Learn Go Series - 3: Imports, Package Management and Project Structure in Go

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]