1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 15:12:26 +08:00

doc: format code in doc file

This commit is contained in:
dudaodong
2023-06-13 15:08:40 +08:00
parent 1e5b69e9bf
commit 69a797f8ed
8 changed files with 81 additions and 81 deletions

View File

@@ -608,16 +608,16 @@ import (
func main() {
val := reflect.ValueOf("abc")
iVal, ok := convertor.ToInterface(val)
iVal, ok := convertor.ToInterface(val)
fmt.Printf("%T\n", iVal)
fmt.Printf("%v\n", iVal)
fmt.Println(ok)
fmt.Printf("%T\n", iVal)
fmt.Printf("%v\n", iVal)
fmt.Println(ok)
// Output:
// string
// abc
// true
// Output:
// string
// abc
// true
}
```