Skip to content

quantum-box/tachyon-sdk-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tachyon-sdk-go

use cms

use this interface and injection client

type TachyonCmsDriver interface {
	GetById(ctx context.Context, aggregationName, id string) (*AggregateDto, error)
	FindAll(ctx context.Context, aggregationName string) ([]*AggregateDto, error)
	FindByPath(ctx context.Context, aggregationName string, paths []string, value string) ([]*AggregateDto, error)

	Create(ctx context.Context, aggregationName string, in *AggregateDto) error
	Update(ctx context.Context, aggregationName string, in *AggregateDto) error
	Delete(ctx context.Context, aggregationName, id string) error
}
type AggregateDto struct {
	ID        string
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt *time.Time
	Data      map[string]interface{}
}

use crm

About

Tachyon client SDK in Go. Suppress the redevelopment of the wheel. And create solid value by refining the business model.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •