From c9b50c0be75ac0c6576a714f008f665f7b331168 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Tue, 16 Jun 2020 14:25:46 +1000 Subject: [PATCH] Add links to dumbindent blog post --- cmd/dumbindent/main.go | 4 ++++ lib/dumbindent/dumbindent.go | 3 +++ 2 files changed, 7 insertions(+) diff --git a/cmd/dumbindent/main.go b/cmd/dumbindent/main.go index d94032f2..ee3bf256 100644 --- a/cmd/dumbindent/main.go +++ b/cmd/dumbindent/main.go @@ -49,6 +49,10 @@ // real 0m0.641s // user 0m0.585s // sys 0m0.037s +// +// More commentary is at: +// https://godoc.org/github.com/google/wuffs/lib/dumbindent +// https://nigeltao.github.io/blog/2020/dumbindent.html package main import ( diff --git a/lib/dumbindent/dumbindent.go b/lib/dumbindent/dumbindent.go index 9f7f5a24..bb2d7f6d 100644 --- a/lib/dumbindent/dumbindent.go +++ b/lib/dumbindent/dumbindent.go @@ -109,6 +109,9 @@ // Instead, when automatically or manually generating the input for dumbindent, // it is recommended to always emit curly braces (again, similar to `gofmt` // style), even for what would otherwise be 'one-liner' if statements. +// +// More commentary is at: +// https://nigeltao.github.io/blog/2020/dumbindent.html package dumbindent import (