It is fine. That's what it's for :-)

On Friday, May 16, 2014, jhadvig <notifications@github.com> wrote:

> In mysql.go:
>
> > +package vdc
> > +
> > +import (
> > +	"database/sql"
> > +	"fmt"
> > +	"log"
> > +
> > +	"github.com/fsouza/go-dockerclient"
> > +	_ "github.com/go-sql-driver/mysql"
> > +)
> > +
> > +const (
> > +	MYSQL_PORT string = "3306"
> > +)
> > +
> > +type ValidateMysqlRequest struct {
>
> I had it like this but wasn't sure if it will be for the best to have the
> ValidateRequest struct in both ValidateMysqlRequest and
> ValidateHttpRequest. So left it only in the ValidateHttpRequest.
>
> But now when I think about it, I agree that it would be best to have the
> struct in both and use the one, which request type is called.
>
> Will update and rebase.
>
> Thanks.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pmorie/validate-docker-images/pull/2/files#r12763916>
> .
>