diff --git a/docs/2022-07-10-bootstrap-go.html b/docs/2022-07-10-bootstrap-go.html index d6fd11a..8e1ba90 100644 --- a/docs/2022-07-10-bootstrap-go.html +++ b/docs/2022-07-10-bootstrap-go.html @@ -68,23 +68,26 @@ >Structure
-
main.go
+      
+main.go
 internal
-| business
-| | http
-| | | handler.go
-| | | service.go
-| | | models.go
-| | grpc
-| | | handler.go
-| | | models.go
-| | consumer
-| | | handler.go
-| | | service.go
-| | | models.go
-| | service.go
-| | repository.go
-| | models.go
+ business + http + handler.go + service.go + models.go + + grpc + handler.go + models.go + consumer + handler.go + service.go + models.go + service.go + repository.go + models.go

All business codes are inside internal. Each business has a diff --git a/posts/2022-07-10-bootstrap-go.md b/posts/2022-07-10-bootstrap-go.md index d69b29a..c757f9d 100644 --- a/posts/2022-07-10-bootstrap-go.md +++ b/posts/2022-07-10-bootstrap-go.md @@ -10,21 +10,22 @@ Also, this is my personal opinion, so feel free to comment. ```txt main.go internal -| business -| | http -| | | handler.go -| | | service.go -| | | models.go -| | grpc -| | | handler.go -| | | models.go -| | consumer -| | | handler.go -| | | service.go -| | | models.go -| | service.go -| | repository.go -| | models.go + business + http + handler.go + service.go + models.go + + grpc + handler.go + models.go + consumer + handler.go + service.go + models.go + service.go + repository.go + models.go ``` All business codes are inside `internal`.