Skip to content

Instantly share code, notes, and snippets.

var Wait sync.WaitGroup
var Counter int = 0
func main() {
for routine := 1; routine <= 2; routine++ {
Wait.Add(1)
go Routine(routine)
}
func createPages(ctx context.Context) {
http.HandleFunc("/view/", makeHandler(viewHandler))
http.HandleFunc("/edit/", makeHandler(editHandler))
http.HandleFunc("/save/", makeHandler(saveHandler))
}
func TestA1(t *testing.T){
tracer, closer := tracing.Init("hello-world")
defer closer.Close()
package main
func main() {
}
func TestA(t *testing.T){
//if len(os.Args) != 2 {
// panic("ERROR: Expecting one argument")
//}