25da5d2e13
Replace all elements from `v2` to root directory. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
14 lines
358 B
Go
14 lines
358 B
Go
package audit
|
|
|
|
import (
|
|
audit "github.com/nspcc-dev/neofs-api-go/v2/audit/grpc"
|
|
"github.com/nspcc-dev/neofs-api-go/v2/rpc/message"
|
|
)
|
|
|
|
func (a *DataAuditResult) MarshalJSON() ([]byte, error) {
|
|
return message.MarshalJSON(a)
|
|
}
|
|
|
|
func (a *DataAuditResult) UnmarshalJSON(data []byte) error {
|
|
return message.UnmarshalJSON(a, data, new(audit.DataAuditResult))
|
|
}
|