自动化回滚可以回滚gorm.go 和 router.go
This commit is contained in:
11
server/utils/ast/ast_rollback_test.go
Normal file
11
server/utils/ast/ast_rollback_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package ast
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestRollRouterBack(t *testing.T) {
|
||||
RollRouterBack("ttt", "Testttt")
|
||||
}
|
||||
|
||||
func TestRollGormBack(t *testing.T) {
|
||||
RollGormBack("ttt", "Testttt")
|
||||
}
|
Reference in New Issue
Block a user