Skip to content

Option for Context-free and Pointer returning struct #812

Closed
@kokizzu

Description

@kokizzu

Currently the generated values are:

func (q *Queries) BuffById(ctx context.Context, id int64) (Buff, error) {

it would be nice if there's option to set these values:

   emit_context: false
   emit_pointer: true

so it would generate something like this:

func (q *Queries) BuffById(id int64) (*Buff, error) {

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions