pvz

command module
v0.0.0-...-2e5ecab Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Запуск сервера

В директории проекта:

docker compose up pvz-service

Запуск тестов (77% coverage):

docker compose up test

Краткое описание

Для генерации type-safe запросов использовался sqlc, для генерации эндпоинтов по схеме - oapi-codegen

/api - сгенерированные эндпоинты

/internal/data - модель работы с БД и воркер функции

/internal/db - сгенерированное sqlc

/internal/handlers - хэндлеры и middleware

/internal/server - инициализация приложения

/interal/sql - схема БД и запросы для генерации c sqlc

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.
internal
db
testing_helpers.go
testing_helpers.go

Jump to

Keyboard shortcuts

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