Skip to content

Commit

Permalink
fix: pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Oct 23, 2024
1 parent 0f41555 commit b78f544
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 44 deletions.
10 changes: 6 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,12 @@ lint:
SAVE ARTIFACT main.go AS LOCAL main.go

pre-commit:
BUILD +tidy
BUILD +lint
BUILD +openapi
BUILD +openapi-markdown
WAIT
BUILD +tidy
BUILD +lint
BUILD +openapi
BUILD +openapi-markdown
END
BUILD +generate
BUILD +generate-client
BUILD +export-docs-events
Expand Down
40 changes: 0 additions & 40 deletions internal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ import "github.com/formancehq/ledger/internal"
- [func \(a PostCommitVolumes\) Merge\(volumes PostCommitVolumes\) PostCommitVolumes](<#PostCommitVolumes.Merge>)
- [type Posting](<#Posting>)
- [func NewPosting\(source string, destination string, asset string, amount \*big.Int\) Posting](<#NewPosting>)
- [func \(p Posting\) GetDestination\(\) string](<#Posting.GetDestination>)
- [func \(p Posting\) GetSource\(\) string](<#Posting.GetSource>)
- [type Postings](<#Postings>)
- [func \(p Postings\) Reverse\(\) Postings](<#Postings.Reverse>)
- [func \(p Postings\) Validate\(\) \(int, error\)](<#Postings.Validate>)
Expand Down Expand Up @@ -105,8 +103,6 @@ import "github.com/formancehq/ledger/internal"
- [func \(v Volumes\) Copy\(\) Volumes](<#Volumes.Copy>)
- [func \(Volumes\) JSONSchemaExtend\(schema \*jsonschema.Schema\)](<#Volumes.JSONSchemaExtend>)
- [func \(v Volumes\) MarshalJSON\(\) \(\[\]byte, error\)](<#Volumes.MarshalJSON>)
- [func \(v Volumes\) WithInput\(input \*big.Int\) Volumes](<#Volumes.WithInput>)
- [func \(v Volumes\) WithOutput\(output \*big.Int\) Volumes](<#Volumes.WithOutput>)
- [type VolumesByAssets](<#VolumesByAssets>)
- [func \(v VolumesByAssets\) Balances\(\) BalancesByAssets](<#VolumesByAssets.Balances>)
- [type VolumesWithBalance](<#VolumesWithBalance>)
Expand Down Expand Up @@ -799,24 +795,6 @@ func NewPosting(source string, destination string, asset string, amount *big.Int



<a name="Posting.GetDestination"></a>
### func \(Posting\) GetDestination

```go
func (p Posting) GetDestination() string
```



<a name="Posting.GetSource"></a>
### func \(Posting\) GetSource

```go
func (p Posting) GetSource() string
```



<a name="Postings"></a>
## type Postings

Expand Down Expand Up @@ -1171,24 +1149,6 @@ func (v Volumes) MarshalJSON() ([]byte, error)



<a name="Volumes.WithInput"></a>
### func \(Volumes\) WithInput

```go
func (v Volumes) WithInput(input *big.Int) Volumes
```



<a name="Volumes.WithOutput"></a>
### func \(Volumes\) WithOutput

```go
func (v Volumes) WithOutput(output *big.Int) Volumes
```



<a name="VolumesByAssets"></a>
## type VolumesByAssets

Expand Down

0 comments on commit b78f544

Please sign in to comment.