What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-17 06:37:02
golang slice string
First of all, you should really read about strings, bytes and runes in Go. And here is how you can achieve what you want: Go playground (I was not able to properly paste arabic symbols, but if Chinese works, arabic should work too). s := "abcde... Add solution -
Shell/Bash 2021-09-16 09:55:05
connect ECONNREFUSED 127.0.0.1:27017
For windows - just go to Mongodb folder (ex : C:\ProgramFiles\MongoDB\Server\3.4\bin) and open cmd in the folder and type "mongod.exe --dbpath c:\data\db" if c:\data\db folder doesn't exist then create it by yourself and run above command again... Add solution