1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

doc: format code in doc file

This commit is contained in:
dudaodong
2024-11-06 10:15:47 +08:00
parent a7fecfc73b
commit e2ff83649a
2 changed files with 3 additions and 3 deletions

View File

@@ -529,8 +529,8 @@ func main() {
return errors.New("error in try block")
}).Catch(func(ctx context.Context, err error) {
calledCatch = true
// Error in try block at /path/xxx.go:{line_number} - Cause: error message
// fmt.Println(err.Error())
// Error in try block at /path/xxx.go:{line_number} - Cause: error message
// fmt.Println(err.Error())
}).Finally(func(ctx context.Context) {
calledFinally = true
}).Do()