├── .github └── workflows │ └── go.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── cmd └── project │ ├── internal │ ├── debug.go │ ├── flags.go │ ├── project.go │ └── repositories.go │ └── main.go ├── database ├── database.yml ├── schema │ ├── notification │ │ ├── 20190613042222_sms_history.down.sql │ │ └── 20190613042222_sms_history.up.sql │ └── user │ │ ├── 20191017070146_users.down.sql │ │ └── 20191017070146_users.up.sql └── setup.sh ├── debug ├── bucket │ └── private-image │ │ └── .keep └── user │ └── user.go ├── docker-compose.yml ├── docs ├── images │ ├── design.png │ ├── import_cyclic.png │ ├── microservice_cylic.png │ ├── microservice_interaction.png │ ├── microservice_user.png │ ├── microservice_user_order.png │ ├── nsq_throttle_design.png │ ├── service_boundaries1.png │ ├── service_package.png │ ├── service_package_cyclic.png │ └── service_package_dependencies.png ├── project_design.md └── service_boundaries.md ├── go.mod ├── go.sum ├── internal ├── config │ ├── config.go │ ├── config.test.toml │ └── test_generator │ │ └── main.go ├── entity │ ├── amenities │ │ ├── amenities.go │ │ └── const.go │ ├── authentication │ │ ├── authentication.go │ │ └── const.go │ ├── booking │ │ ├── booking.go │ │ ├── const.go │ │ └── error.go │ ├── device │ │ └── device.go │ ├── image │ │ ├── const.go │ │ ├── error.go │ │ ├── image.go │ │ └── image_test.go │ ├── invoice │ │ ├── const.go │ │ └── invoice.go │ ├── notification │ │ ├── const.go │ │ └── notification.go │ ├── oauth2 │ │ └── oauth2.go │ ├── order │ │ ├── const.go │ │ └── order.go │ ├── otp │ │ ├── const.go │ │ ├── errors.go │ │ └── otp.go │ ├── property │ │ ├── const.go │ │ └── property.go │ ├── pushmessage │ │ └── pushmessage.go │ ├── room │ │ ├── const.go │ │ └── room.go │ ├── secret │ │ ├── const.go │ │ └── secret.go │ ├── session │ │ ├── const.go │ │ ├── context.go │ │ ├── error.go │ │ └── session.go │ ├── sms │ │ └── sms.go │ ├── state │ │ ├── const.go │ │ ├── errors.go │ │ └── state.go │ └── user │ │ ├── const.go │ │ ├── error.go │ │ ├── register.go │ │ └── user.go ├── featureflag │ ├── consul │ │ └── consul.go │ ├── etcd │ │ ├── docker-compose.yaml │ │ └── etcd.go │ └── featureflag.go ├── kothak │ ├── README.md │ ├── kothak.go │ ├── object_storage.go │ ├── redis.go │ └── sql.go ├── objstoragepath │ └── objstoragepath.go ├── pkg │ ├── README.md │ ├── context │ │ └── context.go │ ├── conv │ │ ├── conv.go │ │ └── conv_test.go │ ├── cucumber │ │ ├── README.md │ │ ├── api.go │ │ ├── api_test.go │ │ ├── cucumber.go │ │ ├── cucumber_test.go │ │ ├── features │ │ │ └── api.feature │ │ ├── file.go │ │ ├── file_test.go │ │ └── test.log │ ├── defaults │ │ ├── README.md │ │ ├── defaults.go │ │ └── defaults_test.go │ ├── envfile │ │ ├── README.md │ │ ├── envfile.go │ │ └── testfile │ │ │ └── envfile.yaml │ ├── http │ │ ├── client │ │ │ └── client.go │ │ ├── misc │ │ │ └── misc.go │ │ ├── monitoring │ │ │ └── monitoring.go │ │ ├── request │ │ │ ├── README.md │ │ │ ├── header.go │ │ │ ├── request.go │ │ │ └── request_test.go │ │ └── response │ │ │ ├── response.go │ │ │ └── response_test.go │ ├── log │ │ ├── log.go │ │ └── logger │ │ │ ├── logger.go │ │ │ ├── logrus │ │ │ └── logrus.go │ │ │ ├── std │ │ │ ├── README.md │ │ │ └── std.go │ │ │ ├── zap │ │ │ └── zap.go │ │ │ └── zerolog │ │ │ └── zerolog.go │ ├── nsq │ │ ├── README.md │ │ ├── fakensq │ │ │ ├── README.md │ │ │ └── fakensq.go │ │ ├── handler.go │ │ ├── handler_test.go │ │ ├── middleware.go │ │ ├── middleware_test.go │ │ ├── nsq.go │ │ ├── nsq_test.go │ │ └── nsqio │ │ │ └── nsqio.go │ ├── objectstorage │ │ ├── README.md │ │ ├── gcs │ │ │ └── gcs.go │ │ ├── local │ │ │ ├── local.go │ │ │ ├── local_test.go │ │ │ └── testfile │ │ │ │ └── copy1.txt │ │ ├── objectstorage.go │ │ ├── objectstorage_test.go │ │ ├── s3 │ │ │ ├── s3.go │ │ │ └── s3_test.go │ │ └── testbucket │ │ │ ├── haloha.txt.attrs │ │ │ ├── objectstorage.go.attrs │ │ │ └── testdownload.txt │ ├── randgen │ │ └── randgen.go │ ├── redis │ │ ├── mock │ │ │ └── redis_mock.go │ │ ├── redigo │ │ │ ├── key.go │ │ │ ├── list.go │ │ │ ├── pipeline.go │ │ │ └── redigo.go │ │ └── redis.go │ ├── router │ │ ├── README.md │ │ └── router.go │ ├── sqldb │ │ ├── slqdb.go │ │ └── sqldb_context.go │ ├── tempe │ │ ├── tempe.go │ │ └── tempe_test.go │ ├── time │ │ └── time.go │ └── ulid │ │ ├── ulid.go │ │ └── ulid_test.go ├── repository │ ├── amenities │ │ └── amenities.go │ ├── image │ │ ├── image.go │ │ └── image_test.go │ ├── invoice │ │ └── invoice.go │ ├── otp │ │ └── otp.go │ ├── property │ │ └── property.go │ ├── repository.go │ ├── secret │ │ └── secret.go │ ├── session │ │ └── session.go │ ├── state │ │ └── state.go │ └── user │ │ ├── session.go │ │ └── user.go ├── server │ ├── admin.go │ ├── debug │ │ ├── handler.go │ │ ├── image │ │ │ └── .keep │ │ ├── server.go │ │ └── user │ │ │ └── user.go │ ├── main │ │ ├── authentication │ │ │ └── README.md │ │ ├── booking │ │ │ └── booking.go │ │ ├── handler.go │ │ ├── oauth2 │ │ │ ├── README.md │ │ │ └── oauth2.go │ │ ├── server.go │ │ └── user │ │ │ └── README.md │ └── server.go ├── third-party │ ├── facebook │ │ └── oauth │ │ │ └── oauth.go │ ├── firebase │ │ └── pushmessage │ │ │ ├── const.go │ │ │ └── pushmessage.go │ ├── google │ │ └── oauth │ │ │ └── oauth.go │ └── nexmo │ │ └── sms │ │ └── sms.go ├── usecase │ ├── authentication │ │ ├── README.md │ │ └── authentication.go │ ├── booking │ │ └── booking.go │ ├── image │ │ ├── README.md │ │ ├── image.go │ │ ├── image_test.go │ │ └── mock │ │ │ └── image_mock.go │ ├── notification │ │ ├── notification.go │ │ ├── pushtemplate.go │ │ ├── smstemplate.go │ │ └── template.go │ ├── oauth2 │ │ ├── oauth2.go │ │ └── scope.go │ ├── order │ │ └── order.go │ ├── otp │ │ └── otp.go │ ├── property │ │ └── property.go │ ├── room │ │ └── room.go │ ├── secret │ │ └── secret.go │ ├── session │ │ ├── README.md │ │ └── session.go │ ├── state │ │ ├── README.md │ │ └── state.go │ ├── usecase.go │ └── user │ │ └── user.go └── xerrors │ ├── README.md │ ├── example │ └── example.go │ └── xerrors.go ├── project.config.toml ├── project.env.toml └── scripts └── install_dependencies.sh /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/README.md -------------------------------------------------------------------------------- /cmd/project/internal/debug.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/cmd/project/internal/debug.go -------------------------------------------------------------------------------- /cmd/project/internal/flags.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/cmd/project/internal/flags.go -------------------------------------------------------------------------------- /cmd/project/internal/project.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/cmd/project/internal/project.go -------------------------------------------------------------------------------- /cmd/project/internal/repositories.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/cmd/project/internal/repositories.go -------------------------------------------------------------------------------- /cmd/project/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/cmd/project/main.go -------------------------------------------------------------------------------- /database/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/database/database.yml -------------------------------------------------------------------------------- /database/schema/notification/20190613042222_sms_history.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/database/schema/notification/20190613042222_sms_history.down.sql -------------------------------------------------------------------------------- /database/schema/notification/20190613042222_sms_history.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/database/schema/notification/20190613042222_sms_history.up.sql -------------------------------------------------------------------------------- /database/schema/user/20191017070146_users.down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/database/schema/user/20191017070146_users.down.sql -------------------------------------------------------------------------------- /database/schema/user/20191017070146_users.up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/database/schema/user/20191017070146_users.up.sql -------------------------------------------------------------------------------- /database/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/database/setup.sh -------------------------------------------------------------------------------- /debug/bucket/private-image/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /debug/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/debug/user/user.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/images/design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/design.png -------------------------------------------------------------------------------- /docs/images/import_cyclic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/import_cyclic.png -------------------------------------------------------------------------------- /docs/images/microservice_cylic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/microservice_cylic.png -------------------------------------------------------------------------------- /docs/images/microservice_interaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/microservice_interaction.png -------------------------------------------------------------------------------- /docs/images/microservice_user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/microservice_user.png -------------------------------------------------------------------------------- /docs/images/microservice_user_order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/microservice_user_order.png -------------------------------------------------------------------------------- /docs/images/nsq_throttle_design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/nsq_throttle_design.png -------------------------------------------------------------------------------- /docs/images/service_boundaries1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/service_boundaries1.png -------------------------------------------------------------------------------- /docs/images/service_package.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/service_package.png -------------------------------------------------------------------------------- /docs/images/service_package_cyclic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/service_package_cyclic.png -------------------------------------------------------------------------------- /docs/images/service_package_dependencies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/images/service_package_dependencies.png -------------------------------------------------------------------------------- /docs/project_design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/project_design.md -------------------------------------------------------------------------------- /docs/service_boundaries.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/docs/service_boundaries.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/go.sum -------------------------------------------------------------------------------- /internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/config/config.go -------------------------------------------------------------------------------- /internal/config/config.test.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/config/config.test.toml -------------------------------------------------------------------------------- /internal/config/test_generator/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/config/test_generator/main.go -------------------------------------------------------------------------------- /internal/entity/amenities/amenities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/amenities/amenities.go -------------------------------------------------------------------------------- /internal/entity/amenities/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/amenities/const.go -------------------------------------------------------------------------------- /internal/entity/authentication/authentication.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/authentication/authentication.go -------------------------------------------------------------------------------- /internal/entity/authentication/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/authentication/const.go -------------------------------------------------------------------------------- /internal/entity/booking/booking.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/booking/booking.go -------------------------------------------------------------------------------- /internal/entity/booking/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/booking/const.go -------------------------------------------------------------------------------- /internal/entity/booking/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/booking/error.go -------------------------------------------------------------------------------- /internal/entity/device/device.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/device/device.go -------------------------------------------------------------------------------- /internal/entity/image/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/image/const.go -------------------------------------------------------------------------------- /internal/entity/image/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/image/error.go -------------------------------------------------------------------------------- /internal/entity/image/image.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/image/image.go -------------------------------------------------------------------------------- /internal/entity/image/image_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/image/image_test.go -------------------------------------------------------------------------------- /internal/entity/invoice/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/invoice/const.go -------------------------------------------------------------------------------- /internal/entity/invoice/invoice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/invoice/invoice.go -------------------------------------------------------------------------------- /internal/entity/notification/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/notification/const.go -------------------------------------------------------------------------------- /internal/entity/notification/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/notification/notification.go -------------------------------------------------------------------------------- /internal/entity/oauth2/oauth2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/oauth2/oauth2.go -------------------------------------------------------------------------------- /internal/entity/order/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/order/const.go -------------------------------------------------------------------------------- /internal/entity/order/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/order/order.go -------------------------------------------------------------------------------- /internal/entity/otp/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/otp/const.go -------------------------------------------------------------------------------- /internal/entity/otp/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/otp/errors.go -------------------------------------------------------------------------------- /internal/entity/otp/otp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/otp/otp.go -------------------------------------------------------------------------------- /internal/entity/property/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/property/const.go -------------------------------------------------------------------------------- /internal/entity/property/property.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/property/property.go -------------------------------------------------------------------------------- /internal/entity/pushmessage/pushmessage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/pushmessage/pushmessage.go -------------------------------------------------------------------------------- /internal/entity/room/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/room/const.go -------------------------------------------------------------------------------- /internal/entity/room/room.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/room/room.go -------------------------------------------------------------------------------- /internal/entity/secret/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/secret/const.go -------------------------------------------------------------------------------- /internal/entity/secret/secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/secret/secret.go -------------------------------------------------------------------------------- /internal/entity/session/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/session/const.go -------------------------------------------------------------------------------- /internal/entity/session/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/session/context.go -------------------------------------------------------------------------------- /internal/entity/session/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/session/error.go -------------------------------------------------------------------------------- /internal/entity/session/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/session/session.go -------------------------------------------------------------------------------- /internal/entity/sms/sms.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/sms/sms.go -------------------------------------------------------------------------------- /internal/entity/state/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/state/const.go -------------------------------------------------------------------------------- /internal/entity/state/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/state/errors.go -------------------------------------------------------------------------------- /internal/entity/state/state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/state/state.go -------------------------------------------------------------------------------- /internal/entity/user/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/user/const.go -------------------------------------------------------------------------------- /internal/entity/user/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/user/error.go -------------------------------------------------------------------------------- /internal/entity/user/register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/user/register.go -------------------------------------------------------------------------------- /internal/entity/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/entity/user/user.go -------------------------------------------------------------------------------- /internal/featureflag/consul/consul.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/featureflag/consul/consul.go -------------------------------------------------------------------------------- /internal/featureflag/etcd/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/featureflag/etcd/docker-compose.yaml -------------------------------------------------------------------------------- /internal/featureflag/etcd/etcd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/featureflag/etcd/etcd.go -------------------------------------------------------------------------------- /internal/featureflag/featureflag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/featureflag/featureflag.go -------------------------------------------------------------------------------- /internal/kothak/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/kothak/README.md -------------------------------------------------------------------------------- /internal/kothak/kothak.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/kothak/kothak.go -------------------------------------------------------------------------------- /internal/kothak/object_storage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/kothak/object_storage.go -------------------------------------------------------------------------------- /internal/kothak/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/kothak/redis.go -------------------------------------------------------------------------------- /internal/kothak/sql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/kothak/sql.go -------------------------------------------------------------------------------- /internal/objstoragepath/objstoragepath.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/objstoragepath/objstoragepath.go -------------------------------------------------------------------------------- /internal/pkg/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/README.md -------------------------------------------------------------------------------- /internal/pkg/context/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/context/context.go -------------------------------------------------------------------------------- /internal/pkg/conv/conv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/conv/conv.go -------------------------------------------------------------------------------- /internal/pkg/conv/conv_test.go: -------------------------------------------------------------------------------- 1 | package conv_test 2 | -------------------------------------------------------------------------------- /internal/pkg/cucumber/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/README.md -------------------------------------------------------------------------------- /internal/pkg/cucumber/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/api.go -------------------------------------------------------------------------------- /internal/pkg/cucumber/api_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/api_test.go -------------------------------------------------------------------------------- /internal/pkg/cucumber/cucumber.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/cucumber.go -------------------------------------------------------------------------------- /internal/pkg/cucumber/cucumber_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/cucumber_test.go -------------------------------------------------------------------------------- /internal/pkg/cucumber/features/api.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/features/api.feature -------------------------------------------------------------------------------- /internal/pkg/cucumber/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/file.go -------------------------------------------------------------------------------- /internal/pkg/cucumber/file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/file_test.go -------------------------------------------------------------------------------- /internal/pkg/cucumber/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/cucumber/test.log -------------------------------------------------------------------------------- /internal/pkg/defaults/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/defaults/README.md -------------------------------------------------------------------------------- /internal/pkg/defaults/defaults.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/defaults/defaults.go -------------------------------------------------------------------------------- /internal/pkg/defaults/defaults_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/defaults/defaults_test.go -------------------------------------------------------------------------------- /internal/pkg/envfile/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/envfile/README.md -------------------------------------------------------------------------------- /internal/pkg/envfile/envfile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/envfile/envfile.go -------------------------------------------------------------------------------- /internal/pkg/envfile/testfile/envfile.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/envfile/testfile/envfile.yaml -------------------------------------------------------------------------------- /internal/pkg/http/client/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/client/client.go -------------------------------------------------------------------------------- /internal/pkg/http/misc/misc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/misc/misc.go -------------------------------------------------------------------------------- /internal/pkg/http/monitoring/monitoring.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/monitoring/monitoring.go -------------------------------------------------------------------------------- /internal/pkg/http/request/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/request/README.md -------------------------------------------------------------------------------- /internal/pkg/http/request/header.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/request/header.go -------------------------------------------------------------------------------- /internal/pkg/http/request/request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/request/request.go -------------------------------------------------------------------------------- /internal/pkg/http/request/request_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/request/request_test.go -------------------------------------------------------------------------------- /internal/pkg/http/response/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/response/response.go -------------------------------------------------------------------------------- /internal/pkg/http/response/response_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/http/response/response_test.go -------------------------------------------------------------------------------- /internal/pkg/log/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/log/log.go -------------------------------------------------------------------------------- /internal/pkg/log/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/log/logger/logger.go -------------------------------------------------------------------------------- /internal/pkg/log/logger/logrus/logrus.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/log/logger/logrus/logrus.go -------------------------------------------------------------------------------- /internal/pkg/log/logger/std/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/log/logger/std/README.md -------------------------------------------------------------------------------- /internal/pkg/log/logger/std/std.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/log/logger/std/std.go -------------------------------------------------------------------------------- /internal/pkg/log/logger/zap/zap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/log/logger/zap/zap.go -------------------------------------------------------------------------------- /internal/pkg/log/logger/zerolog/zerolog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/log/logger/zerolog/zerolog.go -------------------------------------------------------------------------------- /internal/pkg/nsq/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/README.md -------------------------------------------------------------------------------- /internal/pkg/nsq/fakensq/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/fakensq/README.md -------------------------------------------------------------------------------- /internal/pkg/nsq/fakensq/fakensq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/fakensq/fakensq.go -------------------------------------------------------------------------------- /internal/pkg/nsq/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/handler.go -------------------------------------------------------------------------------- /internal/pkg/nsq/handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/handler_test.go -------------------------------------------------------------------------------- /internal/pkg/nsq/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/middleware.go -------------------------------------------------------------------------------- /internal/pkg/nsq/middleware_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/middleware_test.go -------------------------------------------------------------------------------- /internal/pkg/nsq/nsq.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/nsq.go -------------------------------------------------------------------------------- /internal/pkg/nsq/nsq_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/nsq_test.go -------------------------------------------------------------------------------- /internal/pkg/nsq/nsqio/nsqio.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/nsq/nsqio/nsqio.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/README.md: -------------------------------------------------------------------------------- 1 | # Objectstorage 2 | 3 | Wrapper of go cloud blob library 4 | -------------------------------------------------------------------------------- /internal/pkg/objectstorage/gcs/gcs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/gcs/gcs.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/local/local.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/local/local.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/local/local_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/local/local_test.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/local/testfile/copy1.txt: -------------------------------------------------------------------------------- 1 | this is a text for copy -------------------------------------------------------------------------------- /internal/pkg/objectstorage/objectstorage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/objectstorage.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/objectstorage_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/objectstorage_test.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/s3/s3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/s3/s3.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/s3/s3_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/s3/s3_test.go -------------------------------------------------------------------------------- /internal/pkg/objectstorage/testbucket/haloha.txt.attrs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/testbucket/haloha.txt.attrs -------------------------------------------------------------------------------- /internal/pkg/objectstorage/testbucket/objectstorage.go.attrs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/objectstorage/testbucket/objectstorage.go.attrs -------------------------------------------------------------------------------- /internal/pkg/objectstorage/testbucket/testdownload.txt: -------------------------------------------------------------------------------- 1 | haloha -------------------------------------------------------------------------------- /internal/pkg/randgen/randgen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/randgen/randgen.go -------------------------------------------------------------------------------- /internal/pkg/redis/mock/redis_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/redis/mock/redis_mock.go -------------------------------------------------------------------------------- /internal/pkg/redis/redigo/key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/redis/redigo/key.go -------------------------------------------------------------------------------- /internal/pkg/redis/redigo/list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/redis/redigo/list.go -------------------------------------------------------------------------------- /internal/pkg/redis/redigo/pipeline.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/redis/redigo/pipeline.go -------------------------------------------------------------------------------- /internal/pkg/redis/redigo/redigo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/redis/redigo/redigo.go -------------------------------------------------------------------------------- /internal/pkg/redis/redis.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/redis/redis.go -------------------------------------------------------------------------------- /internal/pkg/router/README.md: -------------------------------------------------------------------------------- 1 | # Router 2 | 3 | Is a wrapper for Gorilla mux 4 | -------------------------------------------------------------------------------- /internal/pkg/router/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/router/router.go -------------------------------------------------------------------------------- /internal/pkg/sqldb/slqdb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/sqldb/slqdb.go -------------------------------------------------------------------------------- /internal/pkg/sqldb/sqldb_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/sqldb/sqldb_context.go -------------------------------------------------------------------------------- /internal/pkg/tempe/tempe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/tempe/tempe.go -------------------------------------------------------------------------------- /internal/pkg/tempe/tempe_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/tempe/tempe_test.go -------------------------------------------------------------------------------- /internal/pkg/time/time.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/time/time.go -------------------------------------------------------------------------------- /internal/pkg/ulid/ulid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/ulid/ulid.go -------------------------------------------------------------------------------- /internal/pkg/ulid/ulid_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/pkg/ulid/ulid_test.go -------------------------------------------------------------------------------- /internal/repository/amenities/amenities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/amenities/amenities.go -------------------------------------------------------------------------------- /internal/repository/image/image.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/image/image.go -------------------------------------------------------------------------------- /internal/repository/image/image_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/image/image_test.go -------------------------------------------------------------------------------- /internal/repository/invoice/invoice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/invoice/invoice.go -------------------------------------------------------------------------------- /internal/repository/otp/otp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/otp/otp.go -------------------------------------------------------------------------------- /internal/repository/property/property.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/property/property.go -------------------------------------------------------------------------------- /internal/repository/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/repository.go -------------------------------------------------------------------------------- /internal/repository/secret/secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/secret/secret.go -------------------------------------------------------------------------------- /internal/repository/session/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/session/session.go -------------------------------------------------------------------------------- /internal/repository/state/state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/state/state.go -------------------------------------------------------------------------------- /internal/repository/user/session.go: -------------------------------------------------------------------------------- 1 | package user 2 | 3 | -------------------------------------------------------------------------------- /internal/repository/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/repository/user/user.go -------------------------------------------------------------------------------- /internal/server/admin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/admin.go -------------------------------------------------------------------------------- /internal/server/debug/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/debug/handler.go -------------------------------------------------------------------------------- /internal/server/debug/image/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /internal/server/debug/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/debug/server.go -------------------------------------------------------------------------------- /internal/server/debug/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/debug/user/user.go -------------------------------------------------------------------------------- /internal/server/main/authentication/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/main/authentication/README.md -------------------------------------------------------------------------------- /internal/server/main/booking/booking.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/main/booking/booking.go -------------------------------------------------------------------------------- /internal/server/main/handler.go: -------------------------------------------------------------------------------- 1 | package mainserver 2 | -------------------------------------------------------------------------------- /internal/server/main/oauth2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/main/oauth2/README.md -------------------------------------------------------------------------------- /internal/server/main/oauth2/oauth2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/main/oauth2/oauth2.go -------------------------------------------------------------------------------- /internal/server/main/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/main/server.go -------------------------------------------------------------------------------- /internal/server/main/user/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/main/user/README.md -------------------------------------------------------------------------------- /internal/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/server/server.go -------------------------------------------------------------------------------- /internal/third-party/facebook/oauth/oauth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/third-party/facebook/oauth/oauth.go -------------------------------------------------------------------------------- /internal/third-party/firebase/pushmessage/const.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/third-party/firebase/pushmessage/const.go -------------------------------------------------------------------------------- /internal/third-party/firebase/pushmessage/pushmessage.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/third-party/firebase/pushmessage/pushmessage.go -------------------------------------------------------------------------------- /internal/third-party/google/oauth/oauth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/third-party/google/oauth/oauth.go -------------------------------------------------------------------------------- /internal/third-party/nexmo/sms/sms.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/third-party/nexmo/sms/sms.go -------------------------------------------------------------------------------- /internal/usecase/authentication/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/authentication/README.md -------------------------------------------------------------------------------- /internal/usecase/authentication/authentication.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/authentication/authentication.go -------------------------------------------------------------------------------- /internal/usecase/booking/booking.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/booking/booking.go -------------------------------------------------------------------------------- /internal/usecase/image/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/image/README.md -------------------------------------------------------------------------------- /internal/usecase/image/image.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/image/image.go -------------------------------------------------------------------------------- /internal/usecase/image/image_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/image/image_test.go -------------------------------------------------------------------------------- /internal/usecase/image/mock/image_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/image/mock/image_mock.go -------------------------------------------------------------------------------- /internal/usecase/notification/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/notification/notification.go -------------------------------------------------------------------------------- /internal/usecase/notification/pushtemplate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/notification/pushtemplate.go -------------------------------------------------------------------------------- /internal/usecase/notification/smstemplate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/notification/smstemplate.go -------------------------------------------------------------------------------- /internal/usecase/notification/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/notification/template.go -------------------------------------------------------------------------------- /internal/usecase/oauth2/oauth2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/oauth2/oauth2.go -------------------------------------------------------------------------------- /internal/usecase/oauth2/scope.go: -------------------------------------------------------------------------------- 1 | package oauth2 2 | -------------------------------------------------------------------------------- /internal/usecase/order/order.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/order/order.go -------------------------------------------------------------------------------- /internal/usecase/otp/otp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/otp/otp.go -------------------------------------------------------------------------------- /internal/usecase/property/property.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/property/property.go -------------------------------------------------------------------------------- /internal/usecase/room/room.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/room/room.go -------------------------------------------------------------------------------- /internal/usecase/secret/secret.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/secret/secret.go -------------------------------------------------------------------------------- /internal/usecase/session/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/session/README.md -------------------------------------------------------------------------------- /internal/usecase/session/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/session/session.go -------------------------------------------------------------------------------- /internal/usecase/state/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/state/README.md -------------------------------------------------------------------------------- /internal/usecase/state/state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/state/state.go -------------------------------------------------------------------------------- /internal/usecase/usecase.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/usecase.go -------------------------------------------------------------------------------- /internal/usecase/user/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/usecase/user/user.go -------------------------------------------------------------------------------- /internal/xerrors/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/xerrors/README.md -------------------------------------------------------------------------------- /internal/xerrors/example/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/xerrors/example/example.go -------------------------------------------------------------------------------- /internal/xerrors/xerrors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/internal/xerrors/xerrors.go -------------------------------------------------------------------------------- /project.config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/project.config.toml -------------------------------------------------------------------------------- /project.env.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/project.env.toml -------------------------------------------------------------------------------- /scripts/install_dependencies.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/albertwidi/go-project-example/HEAD/scripts/install_dependencies.sh --------------------------------------------------------------------------------