Glossary entry

английский term or phrase:

die in

русский translation:

прекратить работу (скрипта)

Added to glossary by Andrew Tishin
Dec 31, 2022 13:56
1 yr ago
14 viewers *
английский term

die in

английский => русский Техника Компьютеры: Программное обеспечение Google Go
https://google.github.io/styleguide/go/best-practices
Do not call log functions before flags have been parsed. If you must **die in** an init func, a panic is acceptable in place of the logging call.

Proposed translations

+1
12 мин
Selected

прекратить работу скрипта (с выводом сообщения) в функции init()

+

--------------------------------------------------
Note added at 20 mins (2022-12-31 14:16:38 GMT)
--------------------------------------------------

по аналогии с php функцией die()

How to implement a PHP function `die()` (or `exit()`) in Go? https://stackoverflow.com/questions/38605226/how-to-implemen...
Peer comment(s):

agree Ilian DAVIAUD
1 час
Спасибо
Something went wrong...
4 KudoZ points awarded for this answer. Comment: "Спасибо большое!"
Term search
  • All of ProZ.com
  • Поиск термина
  • Заказы
  • Форумы
  • Multiple search