organization

package
v0.1.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(db *bun.DB) *Service

func (*Service) CreateOrganization

func (r *Service) CreateOrganization(ctx context.Context, data *api.CreateOrganizationRequest) (*api.Organization, error)

func (*Service) FindOrganizationByID

func (r *Service) FindOrganizationByID(ctx context.Context, id int64) (*api.Organization, error)

func (*Service) ListOrganizations

func (r *Service) ListOrganizations(ctx context.Context) ([]*api.Organization, error)

Jump to

Keyboard shortcuts

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