Merge branch 'main' of https://github.com/72wo/blazing
This commit is contained in:
@@ -61,6 +61,11 @@ type PetEX struct {
|
||||
|
||||
}
|
||||
|
||||
type PetS struct {
|
||||
Pet
|
||||
Data []PetInfo `orm:"data" dc:"资源规格"`
|
||||
}
|
||||
|
||||
func LastFourElements[T any](s []T) []T {
|
||||
n := len(s)
|
||||
if n <= 4 {
|
||||
|
||||
Reference in New Issue
Block a user