Skip to content

andiwork/andictl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

andictl

Overview

This is tool for generating golang basic project with no dependency on any framework.

Getting Started

Installation

Installation from source

git clone git@github.com:andiwork/andictl.git
go build .
rm /usr/local/bin/andictl
cp andictl /usr/local/bin/andictl
chmod +x /usr/local/bin/andictl

Tools used

Known Issues

  • Do not create ./pkg/model/type.go file if exist
  • Fix ctrl + c bug. Intercept the os.Signal
  • Replace factory Register with FactoryRegister to avoid duplication
  • Create DTO interface for creation resource to avoid issue due to non mandatory or generated fields. Use the DTO type to make composition for model type to avoid fields duplication. Use the DTO type to make composition for model type to avoid fields duplication

Todos

  • Handle Gorm mysql uuid ID
  • Generate model with more fields
  • Exclude tests package in generate model package list
  • download air
  • Update unit tests
  • Cron generator
  • Pack final package
  • Add mage from https://magefile.org
  • Add asdf from https://asdf-vm.com
  • Add GetAllRegistered function in factory generator

To benchmark

License

© James Kokou GAGLO, 2021~time.Now

Released under the Apache License Version 2.0

About

Andictl is a tool for helping develop with Andi app framework.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages