cmd/

directory
v1.0.56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: MIT

Directories

Path Synopsis
Package main generate *.go(tmpl), *_router.go, *_http.go, *_router.pb.go code based on proto files.
Package main generate *.go(tmpl), *_router.go, *_http.go, *_router.pb.go code based on proto files.
internal/generate/handler
Package handler is to generate template code, router code, and error code.
Package handler is to generate template code, router code, and error code.
internal/generate/router
Package router is to generate gin router code.
Package router is to generate gin router code.
internal/generate/service
Package service is to generate template code, router code, and error code.
Package service is to generate template code, router code, and error code.
internal/parse
Package parse is parsed proto file to struct
Package parse is parsed proto file to struct
Package main is to generate *.go(tmpl), *_client_test.go, *_rpc.go files.
Package main is to generate *.go(tmpl), *_client_test.go, *_rpc.go files.
internal/generate/service
Package service is to generate template code, test code, and error code.
Package service is to generate template code, test code, and error code.
internal/parse
Package parse is parsed proto file to struct
Package parse is parsed proto file to struct
Package main is the grpc server of the application.
Package main is the grpc server of the application.
initial
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package main is the grpc gateway server of the application.
Package main is the grpc gateway server of the application.
initial
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package main is the http and grpc server of the application.
Package main is the http and grpc server of the application.
initial
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package main is the grpc server of the application.
Package main is the grpc server of the application.
initial
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package main is the http server of the application.
Package main is the http server of the application.
initial
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package main is the http server of the application.
Package main is the http server of the application.
initial
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package main is the http and grpc server of the application.
Package main is the http and grpc server of the application.
initial
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.
Package main sunshine is a basic development framework that integrates code auto generation, Gin and GRPC, a microservice framework.
Package main sunshine is a basic development framework that integrates code auto generation, Gin and GRPC, a microservice framework.
commands
Package commands are subcommands of the sunshine command.
Package commands are subcommands of the sunshine command.
commands/generate
Package generate is to generate code, including model, cache, dao, handler, http, service, grpc, grpc-gw, grpc-cli code.
Package generate is to generate code, including model, cache, dao, handler, http, service, grpc, grpc-gw, grpc-cli code.
commands/merge
Package merge is merge the generated code into the template file, you don't worry about it affecting the logic code you have already written, in case of accidents, you can find the pre-merge code in the directory /tmp/sunshine_merge_backup_code
Package merge is merge the generated code into the template file, you don't worry about it affecting the logic code you have already written, in case of accidents, you can find the pre-merge code in the directory /tmp/sunshine_merge_backup_code
commands/patch
Package patch is command set for patching service code.
Package patch is command set for patching service code.
server
Package server is a sunshine UI service that contains the front-end pages.
Package server is a sunshine UI service that contains the front-end pages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL