ip, port = '127.0.0.1:5432'.split(':')
ip, port := strings.Split("127.0.0.1:5432", ":") // assignment count mismatch: 2 = 1
Social Media Digital Marketing & Communication Advisor. Community Manager
Follow the Go Language Community to stay up to date with latest tutorials and find answers, support from other users. Its not same without you!
Write your answer...
In order to don't repeat my self over and over I wanted to create a function that handles running some commands. Once I try to run this I get the following error: I had a look into the implementat
Gopher
General
Asked • Jan 22 2020
I'm using the MySQL driver for Golang provided here https://github.com/go-sql-driver/mysql One of the things I'm trying to do is store the database variable in a global connection. According to th
Asked • Jan 19 2020
I tried parsing the date string "2014-09-12T11:45:26.371Z" in Go. Code I got this error: arsing time "2014-11-12T11:47:39.489Z": month out of range How can I parse this date string?
Sumit Sharma
Asked • Jun 21 2019
Community
Get Involved
Stay Connected
Company