wrapCopierOpt

package module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 2 Imported by: 0

README

copieroptpb

copier option for protobuf wrappervalues

import "github.com/tiny-lib/copieroptpb"
....
user:=&User{}
if err := copier.CopyWithOption(req.User, user, copieroptpb.Option()); err != nil {
    return nil, err
}

supported types:

  • wrappervalue* to its related types
  • timestamppb to time.time

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Option

func Option() copier.Option

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL