Skip to content

Add ability to generate a single model via flags for use with go:generate #11

@davidmarne

Description

@davidmarne

Go supports special comments that invoke a generation script during builds. To support this with google-cloud-go-transaction-generator the tool needs to allow flags for an individual model. Keep the configuration yaml, the tool should be able to support both.

Example:
//go:generate gcgtg -model=foo -receiver=bar package=baz importpath=baz/foo modepackagename=zab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions