repositoryimpl

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YAMLRepository

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

func NewYAMLRepository

func NewYAMLRepository(s storage.Storage) *YAMLRepository

func (*YAMLRepository) Create

func (r *YAMLRepository) Create(ctx context.Context, s *skill.Skill) error

func (*YAMLRepository) Delete

func (r *YAMLRepository) Delete(ctx context.Context, id string) error

func (*YAMLRepository) FindByName

func (r *YAMLRepository) FindByName(ctx context.Context, projectID, name string) (*skill.Skill, error)

func (*YAMLRepository) Get

func (r *YAMLRepository) Get(ctx context.Context, id string) (*skill.Skill, error)

func (*YAMLRepository) List

func (r *YAMLRepository) List(ctx context.Context, projectID string, limit, offset int) ([]*skill.Skill, int, error)

func (*YAMLRepository) Update

func (r *YAMLRepository) Update(ctx context.Context, s *skill.Skill) error

Jump to

Keyboard shortcuts

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