Загрузка...

Strings & Runes in Go: Quirky but Essential | Golang for Devs

Learn the fundamentals and gotchas of using strings and runes in Go quickly!

Related Videos:
Golang for Devs Playlist → https://www.youtube.com/playlist?list=PLs_LGvtimBCIiFK7SfQwwm8xdhw4i3Bz5

Code Examples:
https://github.com/chriselderxyz/youtube/tree/main/golang-for-devs/00-value-vs-ref-types
https://github.com/chriselderxyz/youtube/tree/main/golang-for-devs/03-strings-and-runes

Relevant Go Docs:
strings package → https://pkg.go.dev/strings
strconv package → https://pkg.go.dev/strconv

Chapters:
0:00 - How Strings are Stored
1:03 - Creating Strings
1:50 - What are Runes?
2:16 - Creating Runes
2:38 - Get String Length
3:52 - Comparing Strings
4:48 - Concatenating Strings
6:02 - Access a String Index
7:04 - Slicing Into Sub-Strings
8:38 - String Conversion
9:07 - Iterating Over Strings
9:52 - Outro

------------------------------------------------------------------
Original Go gopher art:
Creator: Renee French
Source: https://golang.org/doc/gopher/
License: CC BY 3.0 — https://creativecommons.org/licenses/by/3.0/

Vector Go gopher art:
Creator: Takuya Ueda
Source: https://github.com/golang-samples/gopher-vector
License: CC BY 3.0 — https://creativecommons.org/licenses/by/3.0/
Modified from the original

Видео Strings & Runes in Go: Quirky but Essential | Golang for Devs канала Chris Elder
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять