Skip to content

Instantly share code, notes, and snippets.

/*
// Ratio attribute
.ratio-16-9 {
width: 100%;
padding-bottom: 56.25%;
position: relative;
}
.ratio-4-3 {
/*
// Ratio attribute
.ratio-16-9 {
width: 100%;
padding-bottom: 56.25%;
position: relative;
}
.ratio-4-3 {
package main
import "fmt"
type Node struct {
val int
parent *Node
left *Node
right *Node
}
@jtestard
jtestard / delve session
Created November 16, 2017 00:03
Delve session
└──➤ make debug TEST_SCOPE=./controller/api/...
Generating mocks
/Library/Developer/CommandLineTools/usr/bin/make ARCH_EXT= -C /MyProject/mocks build-mocks
Beginning unit run with the following settings:
TEST_SCOPE=./controller/api/...
TEST_FLAGS= # "-v" verbose output, "--short" to skip lengthy integration tests
Type 'help' for list of commands.
(dlv) b api_test.go:9
Command failed: no code at /MyProject/controller/api/api_test.go:9