mpyw / mpyw/sqlc-restruct

Feature: Renaming Querier/Queries

Open
#3 0 comments 0 reactions 1 assignee View on GitHub

@mpyw is already working on this.

Since Jul 6, 2023.

enhancement
Dominant language
Go
Stars
9
Forks
1
Avg merge
8d 18h
Merged PRs (30d)
1

Description

Renaming elements like structs in models is quite simple with gorename, so there's no pressing need to create a feature for this.

However, the case for Querier and Queries is different. These are incredibly generic names, and there may be times when you would like to use these names for elements not generated by sqlc. To accommodate such scenarios with flexibility, we will implement a feature that allows you to freely assign names to these.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.