Updated the test edit page (still need to do the post page)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
@ -16,3 +18,7 @@ type Benchmark struct {
|
||||
// has many results
|
||||
Results []Result
|
||||
}
|
||||
|
||||
func (b *Benchmark) StringID() string {
|
||||
return strconv.Itoa(int(b.ID))
|
||||
}
|
||||
|
Reference in New Issue
Block a user