What do you want to save?
Add Code snippet
New code examples in category Go
-
ChickenFeet 2021-09-13 13:39:03
extract value from interface in golang
// extracts interface value to known string type. func extractValueFromInterface(value interface{}) { str, ok := value.(string) if ok { fmt.Printf("string value is: %q\n", str) } else { fmt.Printf("value is not a string: %v\n", ... Add solution -
-
Ss3592 2021-09-13 04:24:03
wget google drive file
// Files smaller than 100MB wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=FILEID' -O FILENAME // Files bigger than 100MB wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(... Add solution -
-
Best helpers
Orlp
+5
Brenten1
+5
Kunder
+5
NullPointer
+5
Roshan
+5
Sg qy
+5
Bryce Wagner
+5
Rn tmssn
+5
Lara
+5
TheBeege
+5
Lim
+5
Startripper
+5
Affable Geek
+5
JCM
+5
Dasedes
+5
Mark Walsh
+5
Adb
+5
Chd
+5
RMalke
+5
Sam C.
+5
James Gentes
+5
Skout
+5