diff --git a/README.md b/README.md index d529b4b..9fcbfef 100644 --- a/README.md +++ b/README.md @@ -234,8 +234,8 @@ fmt.Printf("%#v", c) # Special keywords ### Interface, Struct -Interface and Struct render the keyword followed statement list enclosed by -curly braces. +Interface and Struct render the keyword followed by a statement list enclosed +by curly braces. [Example](https://godoc.org/github.com/davelondon/jennifer/jen#example-Interface-empty): ```go diff --git a/README.md.tpl b/README.md.tpl index ec1f91f..5e0dc12 100644 --- a/README.md.tpl +++ b/README.md.tpl @@ -135,8 +135,8 @@ functions that accept a func(*Group). These are used to embed logic. # Special keywords ### Interface, Struct -Interface and Struct render the keyword followed statement list enclosed by -curly braces. +Interface and Struct render the keyword followed by a statement list enclosed +by curly braces. {{ "ExampleInterface_empty" | example }}