Help us shape the future of Go! Take the 2026 Go Developer Survey

genericNotes

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericNoteHistoryBean

type GenericNoteHistoryBean struct {
	Id          int       `json:"id" validate:"number"`
	NoteId      int       `json:"noteId" validate:"required"`
	Description string    `json:"description" validate:"required"`
	CreatedBy   int32     `json:"createdBy" validate:"number"`
	CreatedOn   time.Time `json:"createdOn" validate:"required"`
}

type GenericNoteHistoryService

type GenericNoteHistoryService interface {
	Save(tx *pg.Tx, bean *GenericNoteHistoryBean, userId int32) (*GenericNoteHistoryBean, error)
}

type GenericNoteHistoryServiceImpl

type GenericNoteHistoryServiceImpl struct {
	// contains filtered or unexported fields
}

func NewGenericNoteHistoryServiceImpl

func NewGenericNoteHistoryServiceImpl(repositoryHistory repository.GenericNoteHistoryRepository, logger *zap.SugaredLogger) *GenericNoteHistoryServiceImpl

func (*GenericNoteHistoryServiceImpl) Save

type GenericNoteService

type GenericNoteService interface {
	Save(tx *pg.Tx, bean *repository.GenericNote, userId int32) (*AppView.GenericNoteResponseBean, error)
	Update(bean *repository.GenericNote, userId int32) (*AppView.GenericNoteResponseBean, error)
	GetGenericNotesForAppIds(appIds []int) (map[int]*AppView.GenericNoteResponseBean, error)
}

type GenericNoteServiceImpl

type GenericNoteServiceImpl struct {
	// contains filtered or unexported fields
}

func NewGenericNoteServiceImpl

func NewGenericNoteServiceImpl(genericNoteRepository repository.GenericNoteRepository, clusterNoteHistoryService GenericNoteHistoryService, userRepository repository2.UserRepository, logger *zap.SugaredLogger) *GenericNoteServiceImpl

func (*GenericNoteServiceImpl) GetGenericNotesForAppIds

func (impl *GenericNoteServiceImpl) GetGenericNotesForAppIds(appIds []int) (map[int]*AppView.GenericNoteResponseBean, error)

func (*GenericNoteServiceImpl) Save

func (*GenericNoteServiceImpl) Update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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