mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
17 lines
192 B
Go
17 lines
192 B
Go
package lang
|
|
|
|
import "log"
|
|
|
|
var Placeholder PlaceholderType
|
|
|
|
type (
|
|
GenericType = interface{}
|
|
PlaceholderType = struct{}
|
|
)
|
|
|
|
func Must(err error) {
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|