获取int类型指针

This commit is contained in:
2023-05-15 17:53:24 +08:00
parent 763009ad36
commit 88833ed039
2 changed files with 29 additions and 0 deletions

View File

@ -94,6 +94,16 @@ type IntResult struct {
Err error
}
// IntPtrResult ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 17:51 2023/5/15
type IntPtrResult struct {
Value *int
Err error
}
// Uint8Result ...
//
// Author : go_developer@163.com<白茶清欢>