gitlab.com/evatix-go/core@v1.3.55/coreinstruction/BaseSourceDestination.go (about)

     1  package coreinstruction
     2  
     3  type BaseSourceDestination struct {
     4  	SourceDestination
     5  }
     6  
     7  func NewBaseSourceDestination(
     8  	src, dst string,
     9  ) BaseSourceDestination {
    10  	return BaseSourceDestination{
    11  		SourceDestination{
    12  			Source:      src,
    13  			Destination: dst,
    14  		},
    15  	}
    16  }