Skip to content

gofieldnode/sqlc-gen-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlc-gen-go

This is a modified version of the original sqlc-gen-go plugin. It is used by some Fieldnode projects and is not meant to be used outside the organization.

Modification

The following modification has been done:

  • All methods and types are prefixed with db. This is to make ensure its not exported outside package.
  • DBTX is renamed to dbExecutor.
  • Copy is not generated event if turned on.
  • Batch code generation is not generated even if turned on.
  • Interfaces are not generated even if turned on.
  • Query code is not recognizing EmitMethodsWithDBArgument setting.

About

Fork of SQLC GO generator

Resources

License

Stars

Watchers

Forks

Languages

  • Go 99.6%
  • Makefile 0.4%