Skip to content

Commit b8b1065

Browse files
authored
doc: prettify code snippet
1 parent 44468b6 commit b8b1065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ hellomsg := `
653653
## Reflection
654654
### Type Switch
655655
A type switch is like a regular switch statement, but the cases in a type switch specify types (not values), and those values are compared against the type of the value held by the given interface value.
656-
```
656+
```go
657657
func do(i interface{}) {
658658
switch v := i.(type) {
659659
case int:

0 commit comments

Comments
 (0)