mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-03 00:38:40 +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)
|
||
|
}
|
||
|
}
|