
Cyril
17.05.2016
16:36:24

PollBot
17.05.2016
16:36:24
☝️ @munknex voted for 'C++'.
/results - show results
/poll - repeat the question

Mars
17.05.2016
16:36:27
Жаль, добавить уже нельзя

Cyril
17.05.2016
16:36:29
/newpoll@PollBot

Google

PollBot
17.05.2016
16:36:29
Sorry, only one poll at a time is allowed.
/poll - repeat the question
/endpoll - close current poll

Mars
17.05.2016
16:36:34
Сорри
Пересоздать?

Valery
17.05.2016
16:43:01

PollBot
17.05.2016
16:43:01
☝️ @valera5505 voted for 'Python'.
/results - show results
/poll - repeat the question

Tiger-Edmon
17.05.2016
16:50:46
Php

Eugeny
17.05.2016
16:59:02

PollBot
17.05.2016
16:59:02
Python
☝️Eugeny voted for 'Python'.
/results - show results
/poll - repeat the question

Мерлин
17.05.2016
16:59:12
Python

Maxim
17.05.2016
17:00:24

PollBot
17.05.2016
17:00:24
☝️ @Llorephie voted for 'Python'.
/results - show results
/poll - repeat the question

Valery
17.05.2016
17:17:07
/results@PollBot

PollBot
17.05.2016
17:17:08
С какого языка/платформы ты пришел в Go
? 7 people voted so far.
Python – 5
??????? 71%
node.js – 1
? 14%
C++ – 1
? 14%
Ruby – 0
▫️ 0%
Php – 0
▫️ 0%
Erlang – 0
▫️ 0%
perl – 0
▫️ 0%
/poll - repeat question
/endpoll - close poll

Google

Ruslan
17.05.2016
17:19:11

PollBot
17.05.2016
17:19:11
☝️ @rkhozinov voted for 'Python'.
/results - show results
/poll - repeat the question

Roman
17.05.2016
17:20:29

PollBot
17.05.2016
17:20:29
☝️ @rkononov voted for 'Ruby'.
/results - show results
/poll - repeat the question

Roman
17.05.2016
17:20:32
/results@PollBot

PollBot
17.05.2016
17:20:32
С какого языка/платформы ты пришел в Go
? 9 people voted so far.
Python – 6
??????? 67%
node.js – 1
? 11%
Ruby – 1
? 11%
C++ – 1
? 11%
Php – 0
▫️ 0%
Erlang – 0
▫️ 0%
perl – 0
▫️ 0%
/poll - repeat question
/endpoll - close poll

Oleksandr
17.05.2016
17:29:43

PollBot
17.05.2016
17:29:43
☝️ @arhat_pl voted for 'Php'.
/results - show results
/poll - repeat the question

Alexander
17.05.2016
17:45:57

PollBot
17.05.2016
17:45:57
perl
☝️Alexander voted for 'perl'.
/results - show results
/poll - repeat the question

Alexey
17.05.2016
19:53:25

PollBot
17.05.2016
19:53:25
☝️ @alec_c4 voted for 'Ruby'.
/results - show results
/poll - repeat the question

Alexey
17.05.2016
19:54:22
/results

PollBot
17.05.2016
19:54:23
С какого языка/платформы ты пришел в Go
? 12 people voted so far.
Python – 6
??????? 50%
Ruby – 2
?? 17%
node.js – 1
? 8%
Php – 1
? 8%
C++ – 1
? 8%
perl – 1
? 8%
Erlang – 0
▫️ 0%
/poll - repeat question
/endpoll - close poll

Alexey
17.05.2016
19:55:02
Судя по результатам poll'а - с эрланга не уходят ;))

Alexander
17.05.2016
20:07:09

PollBot
17.05.2016
20:07:09
☝️ @redcat1 voted for 'Python'.
/results - show results
/poll - repeat the question

Art
17.05.2016
20:11:01
А как можно уйти с одного языка на другой? Какие задачи, такой и язык.

santa
17.05.2016
20:14:43

PollBot
17.05.2016
20:14:43
☝️ @shpaker voted for 'Python'.
/results - show results
/poll - repeat the question

Google

santa
17.05.2016
20:14:47
/results@PollBot

Valery
17.05.2016
20:18:22
Я не то, чтобы ушел с питона, но попробовать интересно

Мерлин
17.05.2016
20:18:43

santa
17.05.2016
20:18:56

Мерлин
17.05.2016
20:20:41

Konstantin
17.05.2016
20:45:34

PollBot
17.05.2016
20:45:34
☝️ @burkostya voted for 'node.js'.
/results - show results
/poll - repeat the question

Mars
18.05.2016
01:56:41

Valery
18.05.2016
02:52:36

Alexander
18.05.2016
03:10:16
/results@PollBot

PollBot
18.05.2016
03:10:16
С какого языка/платформы ты пришел в Go
? 15 people voted so far.
Python – 8
??????? 53%
node.js – 2
?? 13%
Ruby – 2
?? 13%
Php – 1
? 7%
C++ – 1
? 7%
perl – 1
? 7%
Erlang – 0
▫️ 0%
/poll - repeat question
/endpoll - close poll

Arnis
18.05.2016
03:43:32

PollBot
18.05.2016
03:43:32
☝️ @memfiz voted for 'Python'.
/results - show results
/poll - repeat the question

Igor
18.05.2016
03:47:59
D

Welcome Bot
19.05.2016
21:43:23
Добро пожаловать в чат "Golang RU", @isqua!
Добро пожаловать в чат русскоязычного комьюнити языка программирования Go!
Здесь не любят и активно карают за:
— оскорбления;
— nsfw контент;
— флуд, флейм и спам;
— избыток оффтоп тем;
Список всякой всячины: https://github.com/avelino/awesome-go
Ништяки: https://github.com/golang/go/wiki/Projects
Сайт комьюнити: http://4gophers.ru/
Список проектов, которым нужны контрибьютеры: https://github.com/ninedraft/gocryforhelp
Приятно провести время! :3

Art
19.05.2016
21:44:10
/poll@PollBot

PollBot
19.05.2016
21:44:11
/poll@PollBot
С какого языка/платформы ты пришел в Go
/1. node.js
/2. Ruby
/3. Python
/4. Php
/5. Erlang
/6. C++
/7. perl
/results - show results
/endpoll - close poll
Use this link to vote anonymously:
telegram.me/PollBot?start=LTEwMDEwNjI3MDE0NzY6NDhlNWUxZWM2OTA4NTE1MWU=

isqua
19.05.2016
21:48:34
Гоферы, у меня нубский вопрос. Есть код вида
someVar, res, err := someFuncCall(someParams)
if res { p.AppendData("rate", res.Rate) }
checkError(SOME_ERROR_CODE, err)
В нём someVar, someFuncCall, someParams и SOME_ERROR_CODE бывают разные, а всё остальное одинаковое. Т.е. типа
..., res, err := ...
if res { p.AppendData("rate", res.Rate) }
checkError(..., err)
И такое мне предстоит раскопировать около 30 раз. Как можно уйти от копипасты?

Cyril
19.05.2016
21:53:57
Ну заведи функцию handleResAndErr(res, err, ERR_CODE)

Google

Welcome Bot
19.05.2016
22:01:24
Добро пожаловать в чат "Golang RU", @lexfrei!
Добро пожаловать в чат русскоязычного комьюнити языка программирования Go!
Здесь не любят и активно карают за:
— оскорбления;
— nsfw контент;
— флуд, флейм и спам;
— избыток оффтоп тем;
Список всякой всячины: https://github.com/avelino/awesome-go
Ништяки: https://github.com/golang/go/wiki/Projects
Сайт комьюнити: http://4gophers.ru/
Список проектов, которым нужны контрибьютеры: https://github.com/ninedraft/gocryforhelp
Приятно провести время! :3

isqua
19.05.2016
22:04:52
Ну заведи функцию handleResAndErr(res, err, ERR_CODE)
Я чот завёл
func (p *Project) callServer(fn ServerCallee, errorCode string) interface{} {
variable, res, err := fn()
if (res != nil) { p.AppendData("rate", res.Rate) }
checkError(errorCode, err)
return &variable
}
и нифига не короче получилось. Да, кажется с handleRes будет попроще.
А в го нет подобия питоновых декораторов?

Cyril
19.05.2016
22:06:14
Нет
В го не принято бояться копипасты

isqua
19.05.2016
22:06:52
Да, я заметил, когда первый раз писал везде if err != nil
Что не принято бояться.

Aleksey
20.05.2016
01:03:14

PollBot
20.05.2016
01:03:14
☝️ @lexfrei voted for 'C++'.
/results - show results
/poll - repeat the question

Welcome Bot
20.05.2016
06:23:17
Добро пожаловать в чат "Golang RU", @dmitry_ermakov!
Добро пожаловать в чат русскоязычного комьюнити языка программирования Go!
Здесь не любят и активно карают за:
— оскорбления;
— nsfw контент;
— флуд, флейм и спам;
— избыток оффтоп тем;
Список всякой всячины: https://github.com/avelino/awesome-go
Ништяки: https://github.com/golang/go/wiki/Projects
Сайт комьюнити: http://4gophers.ru/
Список проектов, которым нужны контрибьютеры: https://github.com/ninedraft/gocryforhelp
Приятно провести время! :3

isqua
20.05.2016
07:01:28

PollBot
20.05.2016
07:01:29
☝️ @isqua voted for 'node.js'.
/results - show results
/poll - repeat the question

Mars
20.05.2016
07:01:47
/poll@PollBot

PollBot
20.05.2016
07:01:47
/poll@PollBot
С какого языка/платформы ты пришел в Go
/1. node.js
/2. Ruby
/3. Python
/4. Php
/5. Erlang
/6. C++
/7. perl
/results - show results
/endpoll - close poll
Use this link to vote anonymously:
telegram.me/PollBot?start=LTEwMDEwNjI3MDE0NzY6NDhlNWUxZWM2OTA4NTE1MWU=

Mars
20.05.2016
07:02:05
/results@PollBot

PollBot
20.05.2016
07:02:05
С какого языка/платформы ты пришел в Go
? 18 people voted so far.
Python – 9
??????? 50%
node.js – 3
?? 17%
Ruby – 2
?? 11%
C++ – 2
?? 11%
Php – 1
? 6%
perl – 1
? 6%
Erlang – 0
▫️ 0%
/poll - repeat question
/endpoll - close poll

Art
20.05.2016
08:24:19
Лол, жуйк набижал :3

Aleksey
20.05.2016
09:57:46

Alexander
20.05.2016
10:35:51

Valery
20.05.2016
10:45:24
forth :P

Google

santa
20.05.2016
10:54:19
А здесь всё просто
Есть джава, питончик, гоу и всё что кроме... )
С Хабра
Роутер на Golang
https://habrahabr.ru/post/301282/

Мерлин
20.05.2016
13:21:00

Valery
20.05.2016
13:23:18
роутеры кошерно на эрланге же

Cyril
20.05.2016
13:25:11
httprouter выше крыши, даже старого gorilla/mux хватает (пофиг, что там мьютексы) :)

Mars
20.05.2016
13:38:31
Кто что использует в работе? Роутер + middleware engine, micro framework или fullstack framework?
Например: gorilla + negroni или gin/echo или ravel/begoo

Aleksey
20.05.2016
14:15:04
А где добыть наклейку с гофером?

santa
20.05.2016
14:15:52
Но там какие-то не очень

Aleksey
20.05.2016
14:16:59
А есть место, где очень?