common.go 269 B

123456789101112
  1. // Copyright 2019 autocareai.com. All rights reserved.
  2. // Use of this source code is governed by autocareai.com.
  3. package utils
  4. func GetStringParams(in map[string]interface{},key string ) string {
  5. out := ""
  6. if v,ok := in[key];ok{
  7. out = v.(string)
  8. }
  9. return out
  10. }