June 2017
Intermediate to advanced
400 pages
10h 32m
English
These steps cover writing and running your application:
package client import ( "crypto/tls" "net/http" ) // Setup configures our client and redefines // the global DefaultClient func Setup(isSecure, nop bool) *http.Client { c := http.DefaultClient // Sometimes for testing, we want to // turn off SSL verification if !isSecure { c.Transport = &http.Transport{ TLSClientConfig: &tls.Config{ InsecureSkipVerify: false, }, } } if nop ...Read now
Unlock full access