Получи случайную криптовалюту за регистрацию!

🇺🇦 Go на двоих

Логотип телеграм канала @golang_for_two — 🇺🇦 Go на двоих
Логотип телеграм канала @golang_for_two — 🇺🇦 Go на двоих
Адрес канала: @golang_for_two
Категории: Технологии
Язык: Русский
Количество подписчиков: 1.36K
Описание канала:

Канал о трюках и инженерных практиках на языке программирования Go за чашкой кофе ☕️.
Автор: @a_soldatenko
Сайт: https://asoldatenko.org
#golang #go

Рейтинги и Отзывы

3.00

3 отзыва

Оценить канал golang_for_two и оставить отзыв — могут только зарегестрированные пользователи. Все отзывы проходят модерацию.

5 звезд

1

4 звезд

0

3 звезд

1

2 звезд

0

1 звезд

1


Последние сообщения 6

2021-01-19 15:51:05 gitbatch утилита для управления сразу несколькими git репозиториями)

tl;dr https://asciinema.org/a/lxoZT6Z8fSliIEebWSPVIY8ct

https://github.com/isacikgoz/gitbatch
1.7K views12:51
Открыть/Комментировать
2021-01-18 16:15:03 go-internals is a work-in-progress book about the internals of the Go (1.10+) programming language.

Автор правда забил 3 года назад, но то что есть очень интересное чтиво.

https://github.com/teh-cmc/go-internals
1.6K views13:15
Открыть/Комментировать
2021-01-18 00:05:16 Нашел интересный проект Fortio, начиналась как инструмент нагрузочного тестирования для service mesh Istio, а теперь превратилась в собственный проект.

Написан естественно на Go и поставляется также в докере размером 3Mb, умеет считать сразу персентили и показывать результаты в небольшой веб страничке.

Больше деталей в README.md https://github.com/fortio/fortio

P.S.
Добавил по традиции в https://github.com/andriisoldatenko/awesome-performance-testing.
Если вы знаете еще какие-то performance тулы дайте знать в комментах либо можно сразу PR.
1.6K views21:05
Открыть/Комментировать
2021-01-12 12:58:09 Go blogs 1 A Journey With Go https://medium.com/a-journey-with-go 2 Applied Go https://appliedgo.net 3 Ardan Labs’ Blog https://ardanlabs.com/blog 4 Dave Cheney’s Blog https://dave.cheney.net 5 DEV’s Go Tag https://dev.to/t/go 6 Digital Ocean’s Go Series…
1.7K views09:58
Открыть/Комментировать
2021-01-11 10:46:02 Go blogs

1 A Journey With Go https://medium.com/a-journey-with-go
2 Applied Go https://appliedgo.net
3 Ardan Labs’ Blog https://ardanlabs.com/blog
4 Dave Cheney’s Blog https://dave.cheney.net
5 DEV’s Go Tag https://dev.to/t/go
6 Digital Ocean’s Go Series https://digitalocean.com/community/tutorial_series/how-to-code-in-go
7 Eli Bendersky’s Blog https://eli.thegreenplace.net/tag/go
8 Go By Example https://gobyexample.com
9 Go Web Examples https://gowebexamples.com
10 Go’s Articles Wiki https://github.com/golang/go/wiki/Articles
11 Golang Bot https://golangbot.com
12 Golang Programs https://golangprograms.com
13 GolangCode https://golangcode.com
14 Gopher Academy Blog https://blog.gopheracademy.com
15 Gopher Guides https://gopherguides.com/articles
16 Hashnode’s Go Tag https://hashnode.com/n/go
17 Ilija Eftimov’s Blog https://ieftimov.com
18 ITNEXT’s Blog https://itnext.io/tagged/golang
19 Just For Func https://medium.com/justforfunc
20 Learn The Go Programming Language https://medium.com/learning-the-go-programming-language
21 Official Go Blog https://blog.golang.org
22 Russ Cox’s Blog https://research.swtch.com
23 Tit Petric’s Blog https://scene-si.org
24 Tutorial Edge https://tutorialedge.net/course/golang
25 Thoughts’ Go Topic https://utcc.utoronto.ca/~cks/space/blog/__TopicGoWandering

from reddit comments (https://www.reddit.com/r/golang/comments/kul1hd/go_blogs_rated_by_consistency_writing_quality_and/):
Jon Calhoun's Blog https://www.calhoun.io/
Bojan Živanović's Blog https://bojanz.github.io/
Jack Christensen's Blog https://www.jackchristensen.com/
Matt Layher's https://mdlayher.com/blog/
Johan Brandhorst-Satzkorn's Blog https://jbrandhorst.com/
Filippo Valsorda's Blog https://blog.filippo.io/
Peter Bourgon's Blog https://peter.bourgon.org/blog/

Other:
https://github.com/sanmak/awesome-blogs
https://www.mohitkhare.com/categories/golang

Если читаете что-то еще пишите в комменты :)

happy Monday!
3.2K views07:46
Открыть/Комментировать
2021-01-01 23:54:48 Note about cuelang

Недавно нашел интересный проект CUElang [1] (естественно написанный на Go).
Расшифровывается как Configure, Unify, Execute. Cue - это язык для конфигураций со встроенной проверкой типов. Вообщем, выглядит как попытка улучшить ситуацию с тем адом из yaml файлов, который сейчас есть.

Tl;dr чтобы быстро понять что к чему, можно пройти туториал [2], в котором предлагается перевести k8s *yaml файлы на *cue с валидацией и блэкджеком.

Так же есть смысл познакомиться с концепциями [3]. Из приятного, то что сразу есть консольная утилита cue, которая умеет например форматировать cue файлы =), больше инфы тут [4].
P.S. выглядит примерно так:
$ cat < foo.yaml
kind: Service
name: booster
EOF

# include the parsed file as an emit value:
$ cue import foo.yaml
$ cat foo.cue
{
kind: Service
name: booster
}

[1] https://github.com/cuelang/cue
[2] https://github.com/cuelang/cue/blob/v0.2.2/doc/tutorial/kubernetes/README.md
[3] https://cuelang.org/docs/concepts/logic/
[4] https://github.com/cuelang/cue/blob/master/doc/cmd/cue.md
1.7K views20:54
Открыть/Комментировать
2020-12-31 21:10:30
Happy New Year’; DROP TABLE 2020;--
3.3K views18:10
Открыть/Комментировать
2020-12-24 18:25:27 My engineering axioms by Martin Rue:

1. Change is constant.
2. Your product is an asset, but code is a liability.
3. Duplication is less costly than premature abstraction.
4. Code should be easy to delete.
5. Existing code exerts a powerful influence.
6. Accidental complexity is one of the biggest risks.
7. Technical excellence can be shadowed by bad personal skills.
8. You are not your code. Be kind to the coder, not to the code.
9. Treat people who know less than you with respect and patience.
10. The only true authority stems from knowledge, not from position.
11. Teaching is a form of learning in disguise.
12. Lift the skills of people around you, not just yourself.
13. The longer you wait the more you'll know.
14. A good type system is worth its weight plus some.
15. The right team of people trumps everything else.
16. Stick to boring technology, unless there's a good reason not to.
17. Have the smallest team possible, but no smaller. Grow it carefully.
18. Rest.
19. Don't pick a solution until you've thought of at least one more.
20. Have opinions, but avoid expressing them in ways that cause other people to believe you won't change them.
21. It's OK to say "I don't know" or "I need to research that before I have an answer".
22. Writing throwaway code to explore a problem space is underrated.
23. Manage state carefully.
24. It's all about trade-offs.
25. A good design is one in which you can change your mind without changing too much code.

https://martinrue.com/my-engineering-axioms/
3.5K views15:25
Открыть/Комментировать
2020-12-23 01:35:23 Подъехали видео с последнего GopherCon 2020

https://www.youtube.com/playlist?list=PL2ntRZ1ySWBfUint2hCE1JRxRWChloasB

Пишите в комментариях какой больше всего доклад понравился?
1.8K views22:35
Открыть/Комментировать
2020-12-17 20:05:34
Go Slice Tricks Cheat Sheet

https://ueokande.github.io/go-slice-tricks/
3.9K views17:05
Открыть/Комментировать