symbols.go 747 B

1234567891011121314151617181920212223242526272829
  1. package symbols
  2. import (
  3. "os/exec"
  4. "reflect"
  5. "dario.cat/mergo"
  6. "github.com/google/uuid"
  7. )
  8. var (
  9. Symbols = map[string]map[string]reflect.Value{
  10. "os/exec/exec": {
  11. "Command": reflect.ValueOf(exec.Command),
  12. "CommandContext": reflect.ValueOf(exec.CommandContext),
  13. "LookPath": reflect.ValueOf(exec.LookPath),
  14. },
  15. "git.bazzel.dev/bmallen/helios/tools/tools": {},
  16. "github.com/google/uuid/uuid": {
  17. "New": reflect.ValueOf(uuid.New),
  18. "NewString": reflect.ValueOf(uuid.NewString),
  19. },
  20. "dario.cat/mergo/mergo": {
  21. "Merge": reflect.ValueOf(mergo.Merge),
  22. "WithOverride": reflect.ValueOf(mergo.WithOverride),
  23. "WithoutDereference": reflect.ValueOf(mergo.WithoutDereference),
  24. },
  25. }
  26. )