smithoss/gonymizer

Add checks to DBMapper.Validate()

Open

#4 opened on Mar 8, 2019

 (0 comments) (0 reactions) (0 assignees)Go (34 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (160 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently we are only checking the map against the DBMapper.DBName value and making sure it's length is > 0. There are many checks we can be doing here to validate that the DBMap is in the correct format. One example is to check the structure of the DBMap and verify all variables are in the correct form.

Contributor guide