fix_: generate paths

This commit is contained in:
Igor Sirotin 2024-09-24 21:05:42 +01:00
parent b3954781e4
commit 23252579de
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95
2 changed files with 3 additions and 3 deletions

View File

@ -313,8 +313,8 @@ setup-dev:
echo "Replaced by Nix shell. Use 'make shell' or just any target as-is."
generate:
@packages=$(shell go list ./... | grep -v "./contracts")
@go generate "${packages}"
packages=$(call sh, go list ./... | grep -v "./contracts")
go generate $packages
#go generate ./static ./static/mailserver_db_migrations ./t ./multiaccounts/... ./appdatabase/... ./protocol/... ./walletdatabase/... ./_assets/generate_handlers/...
#go generate ./appdatabase/...

View File

@ -1,6 +1,6 @@
package thirdparty
//go:generate mockgen -package=mock_thirdparty -source=services/wallet/thirdparty/types.go -destination=services/wallet/thirdparty/mock/types.go
//go:generate mockgen -package=mock_thirdparty -source=types.go -destination=mock/types.go
type HistoricalPrice struct {
Timestamp int64 `json:"time"`