cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 37 forks source link

Add constants for driver lookup values #200

Open jdolitsky opened 4 years ago

jdolitsky commented 4 years ago

In the Lookup method in the package github.com/cnabio/cnab-go/driver/lookup is using hardcoded strings such as "docker" to determine the driver. Those strings should ideally be made constants somewhere in this repo for other libraries to use.

jdolitsky commented 4 years ago

Source: https://github.com/cnabio/cnab-go/blob/fc67661fdfa2862dee295b28dc4e45c6e7999fc5/driver/lookup/lookup.go#L13