chore: improve docs go
parent
c793a6526d
commit
698eea3844
|
@ -68,23 +68,26 @@
|
||||||
>Structure
|
>Structure
|
||||||
</h2>
|
</h2>
|
||||||
<div class="highlight highlight-text-adblock">
|
<div class="highlight highlight-text-adblock">
|
||||||
<pre>main.go
|
<pre>
|
||||||
|
main.go
|
||||||
internal
|
internal
|
||||||
<span class="pl-k">|</span> business
|
business
|
||||||
<span class="pl-k">|</span> | http
|
http
|
||||||
<span class="pl-k">|</span> | | handler.go
|
handler.go
|
||||||
<span class="pl-k">|</span> | | service.go
|
service.go
|
||||||
<span class="pl-k">|</span> | | models.go
|
models.go
|
||||||
<span class="pl-k">|</span> | grpc
|
|
||||||
<span class="pl-k">|</span> | | handler.go
|
grpc
|
||||||
<span class="pl-k">|</span> | | models.go
|
handler.go
|
||||||
<span class="pl-k">|</span> | consumer
|
models.go
|
||||||
<span class="pl-k">|</span> | | handler.go
|
consumer
|
||||||
<span class="pl-k">|</span> | | service.go
|
handler.go
|
||||||
<span class="pl-k">|</span> | | models.go
|
service.go
|
||||||
<span class="pl-k">|</span> | service.go
|
models.go
|
||||||
<span class="pl-k">|</span> | repository.go
|
service.go
|
||||||
<span class="pl-k">|</span> | models.go</pre>
|
repository.go
|
||||||
|
models.go</pre
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
All business codes are inside <code>internal</code>. Each business has a
|
All business codes are inside <code>internal</code>. Each business has a
|
||||||
|
|
|
@ -10,21 +10,22 @@ Also, this is my personal opinion, so feel free to comment.
|
||||||
```txt
|
```txt
|
||||||
main.go
|
main.go
|
||||||
internal
|
internal
|
||||||
| business
|
business
|
||||||
| | http
|
http
|
||||||
| | | handler.go
|
handler.go
|
||||||
| | | service.go
|
service.go
|
||||||
| | | models.go
|
models.go
|
||||||
| | grpc
|
|
||||||
| | | handler.go
|
grpc
|
||||||
| | | models.go
|
handler.go
|
||||||
| | consumer
|
models.go
|
||||||
| | | handler.go
|
consumer
|
||||||
| | | service.go
|
handler.go
|
||||||
| | | models.go
|
service.go
|
||||||
| | service.go
|
models.go
|
||||||
| | repository.go
|
service.go
|
||||||
| | models.go
|
repository.go
|
||||||
|
models.go
|
||||||
```
|
```
|
||||||
|
|
||||||
All business codes are inside `internal`.
|
All business codes are inside `internal`.
|
||||||
|
|
Loading…
Reference in New Issue