github.com/mdaxf/iac@v0.0.0-20240519030858-58a061660378/controllers/function/function_test.go (about) 1 package function 2 3 import ( 4 "testing" 5 6 "github.com/gin-gonic/gin" 7 ) 8 9 func TestExecFunction(t *testing.T) { 10 type args struct { 11 c *gin.Context 12 } 13 tests := []struct { 14 name string 15 f *FunctionController 16 args args 17 }{ 18 // TODO: Add test cases. 19 } 20 for _, tt := range tests { 21 t.Run(tt.name, func(t *testing.T) { 22 tt.f.TestExecFunction(tt.args.c) 23 }) 24 } 25 }