[go-nuts] Using of packages

2018-12-29 Thread cinematown
I'm a beginner in Golang and quite confusing about using packages in a program. For example, every non simple software has a bunch of classes and interfaces or utility classes which are usually lokated in different packages in the same program. So using them in Java fo example makes no diffcult

[go-nuts] Telegram bot stops working afteg some period of time

2019-09-15 Thread cinematown
I uploaded a simple telegram bot to google-aplication-engine. And after uploading it works as expected some time. Then it stoped respond to request from telegram. The bot is very simple ``` func main() { bot, err := tba.NewBotAPI("apitockenhere") ... for { select { ca

[go-nuts] VsCode syntax highlighting for tmpl files

2019-09-23 Thread cinematown
Is there way to highlight templates files (.tmpl) in VSCode? There is an extension gotemplate-syntax but seems it doesn't make the job. {{define "side"}} New Books There's nothing here {{end}} -- You receive

[go-nuts] Re: Unable to post on this subject

2019-09-23 Thread cinematown
well, google is awesome but is not perfect :) On Monday, September 23, 2019 at 6:26:15 PM UTC+3, stuart...@bt.com wrote: > > Hi > > > > Trying to post on the golang-nuts subject but I get: > > > > ‘An Error occurred while communicating with the server’ RELOAD > > > > I have tried different

[go-nuts] Re: VsCode syntax highlighting for tmpl files

2019-09-24 Thread cinematown
thnks, it's better than nothing On Tuesday, September 24, 2019 at 8:32:55 AM UTC+3, Subramanian Sridharan wrote: > > Nunjucks seems to do the trick. > > Nunjucks - Visual Studio Marketplace > > > ext install extension nunjuck