Skip to content

case for structs #522

@kevinburke1

Description

@kevinburke1

I have the following in SQL:

CREATE TYPE ip_protocol AS enum('tcp', 'ip', 'icmp');

Which generates the unglamorous:

type IpProtocol string

const (
	IpProtocolTcp  IpProtocol = "tcp"
	IpProtocolIp   IpProtocol = "ip"
	IpProtocolIcmp IpProtocol = "icmp"
)

I'm wondering if there's a way to control the case of the generated constants.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions