ethpm / ethpm-go

Go packages to support ethpm. Package manifest schema is defined here https://github.com/ethpm/ethpm-spec
MIT License
9 stars 3 forks source link

RegEx Checks #5

Closed CBDotGuru closed 5 years ago

CBDotGuru commented 5 years ago

What is it?

Adding regex checks

Problem

Most keys and values in the package schema have regex requirements that need to be met. There are currently no regex checking functions for any of the structs.

Solution

Add regex checking methods for each of the structs used for building an ethpm package schema. The requirements can be found in the ethpm/ethpm-spec repo using both human readable docs and machine readable schema.

Steps to implement