This is a short survey of Go repositories license usage on GitHub.
Queries on Google BigQuery:
See also: February, 2019 data
set backspace=indent,eol,start | |
nnoremap <BS> X | |
if version >= 703 | |
set undofile | |
set undodir=$HOME/.vim/undo | |
set undolevels=1000 | |
set undoreload=10000 | |
endif |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>trustList</key> | |
<dict> | |
<key>027268293E5F5D17AAA4B3C3E6361E1F92575EAA</key> | |
<dict> | |
<key>issuerName</key> | |
<data> |
$ GO111MODULE=on go get golang.org/dl/gotip@latest | |
$ gotip download 227037 | |
$ GODEBUG=x509roots=1 gotip test crypto/x509 -v -run TestSystemRoots | |
=== RUN TestSystemRoots | |
crypto/x509: trust settings for CN=Blue Coat Public Services Intermediate CA,OU=Symantec Trust Network,O=Blue Coat Systems\, Inc.,C=US: SecTrustSettingsCopyTrustSettings error: -25262 | |
crypto/x509: trust settings for CN=CINRADIUS2.windows.cin.ufpe.br: 4 | |
crypto/x509: trust settings for CN=windows-CINRADIUS2-CA: 1 | |
crypto/x509: trust settings for CN=CINRADIUS2.windows.cin.ufpe.br: 4 | |
crypto/x509: trust settings for CN=Charles Proxy Custom Root Certificate (built on henvic-mp.local\, 19 Oct 2015),OU=http://charlesproxy.com/ssl,O=XK72 Ltd,L=Auckland,ST=Auckland,C=NZ: 1 | |
crypto/x509: trust settings for CN=localhost.localdomain,OU=VMware ESX Server Default Certificate,O=VMware\, Inc,L=Palo Alto,ST=California,C=US: 4 |
mocks/certs/example.org |
function publish() { | |
equinox release \ | |
--version=$NEW_RELEASE_VERSION \ | |
--channel=$RELEASE_CHANNEL \ | |
--config=$config \ | |
-- \ | |
-ldflags="-X 'github.com/wedeploy/cli/defaults.Version=$NEW_RELEASE_VERSION' \ | |
-X 'github.com/wedeploy/cli/defaults.Build=$BUILD_COMMIT' \ | |
-X 'github.com/wedeploy/cli/defaults.BuildTime=$BUILD_TIME'" \ | |
-gcflags=-trimpath=$GOPATH \ |
This is a short survey of Go repositories license usage on GitHub.
Queries on Google BigQuery:
See also: February, 2019 data
This is a short survey of Go repositories license usage on GitHub.
Queries on Google BigQuery:
See also: September, 2017 data
// golang question: what code is better? | |
// Scenario: inside a callback you have to take an action - say, send a response - after some time | |
// How would you accomplish it? Why? | |
// What if it is test code? | |
// What if it is production code? | |
// Would you write the code like this? | |
mux.HandleFunc("/url", func(w http.ResponseWriter, r *http.Request) { | |
var e = make(chan struct{}, 1) | |
time.AfterFunc(800*time.Millisecond, func() { |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"log" | |
) | |
// Event to record | |
type Event struct { |
package indirect | |
import ( | |
"errors" | |
"fmt" | |
"reflect" | |
) | |
// Inspired by the unmarshal functions on | |
// https://golang.org/src/encoding/json/decode.go |