Glossary entry

English term or phrase:

die in

Russian translation:

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

Added to glossary by Andrew Tishin
Dec 31, 2022 13:56
1 yr ago
14 viewers *
English term

die in

English to Russian Tech/Engineering Computers: Software 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 mins
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 hr
Спасибо
Something went wrong...
4 KudoZ points awarded for this answer. Comment: "Спасибо большое!"
Term search
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search