You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 rivejä
248 B

  1. package service
  2. import (
  3. "strings"
  4. "github.com/QuantumNous/new-api/constant"
  5. )
  6. func CoverTaskActionToModelName(platform constant.TaskPlatform, action string) string {
  7. return strings.ToLower(string(platform)) + "_" + strings.ToLower(action)
  8. }