/explore
|
You are here |
danielms.site | ||
| | | | |
whatibroke.com
Hey everyone, I'm currently setting up a mysql database on DigitalOcean and hit the following error when connecting: failed to connect to the database: default addr for "DATABASE_CONN_STR" network unknown Luckily this turned out to be a pretty easy fix. In the mysql driver repo you can see that the only scenario where this error... |
|
| | | | | ||
| | | | |
golangbot.com
Learn how to connect to MySQL and create a database using the database/sql package. This tutorial also deals with DB connection pooling in Go. |
|
| | | | | ||
| | | | |
hjr265.me
After building Printd, Toph's print daemon, it became necessary to ensure that contest organizers were using the latest version of the software. Since Printd is open-source we host both the code and the release artifacts on GitHub. The following function uses the Go client library for GitHub to check the latest release and compare the tag with the current version. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 package main import ( "context" "log" "time" "github. |
|
| | | | | ||
| | | | |
github.com
Re-implementation of the Living Worlds color cycle effect, in Rust - aquova/colorcycle |
|
| | | |||