{"modulePath":"github.com/devtron-labs/devtron","version":"v1.8.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package genericNotes\n\n## Types\n\n```go\ntype GenericNoteHistoryBean struct {\n\tId          int       `json:\"id\" validate:\"number\"`\n\tNoteId      int       `json:\"noteId\" validate:\"required\"`\n\tDescription string    `json:\"description\" validate:\"required\"`\n\tCreatedBy   int32     `json:\"createdBy\" validate:\"number\"`\n\tCreatedOn   time.Time `json:\"createdOn\" validate:\"required\"`\n}\n```\n\n```go\ntype GenericNoteHistoryService interface {\n\tSave(tx *pg.Tx, bean *GenericNoteHistoryBean, userId int32) (*GenericNoteHistoryBean, error)\n}\n```\n\n```go\ntype GenericNoteHistoryServiceImpl struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewGenericNoteHistoryServiceImpl(repositoryHistory repository.GenericNoteHistoryRepository, logger *zap.SugaredLogger) *GenericNoteHistoryServiceImpl\n```\n\n```go\nfunc (impl *GenericNoteHistoryServiceImpl) Save(tx *pg.Tx, bean *GenericNoteHistoryBean, userId int32) (*GenericNoteHistoryBean, error)\n```\n\n```go\ntype GenericNoteService interface {\n\tSave(tx *pg.Tx, bean *repository.GenericNote, userId int32) (*AppView.GenericNoteResponseBean, error)\n\tUpdate(bean *repository.GenericNote, userId int32) (*AppView.GenericNoteResponseBean, error)\n\tGetGenericNotesForAppIds(appIds []int) (map[int]*AppView.GenericNoteResponseBean, error)\n}\n```\n\n```go\ntype GenericNoteServiceImpl struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewGenericNoteServiceImpl(genericNoteRepository repository.GenericNoteRepository, clusterNoteHistoryService GenericNoteHistoryService, userRepository repository2.UserRepository, logger *zap.SugaredLogger) *GenericNoteServiceImpl\n```\n\n```go\nfunc (impl *GenericNoteServiceImpl) GetGenericNotesForAppIds(appIds []int) (map[int]*AppView.GenericNoteResponseBean, error)\n```\n\n```go\nfunc (impl *GenericNoteServiceImpl) Save(tx *pg.Tx, req *repository.GenericNote, userId int32) (*AppView.GenericNoteResponseBean, error)\n```\n\n```go\nfunc (impl *GenericNoteServiceImpl) Update(req *repository.GenericNote, userId int32) (*AppView.GenericNoteResponseBean, error)\n```\n\n","path":"github.com/devtron-labs/devtron/pkg/genericNotes","name":"genericNotes","synopsis":"","isRedistributable":true}
