targets

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// the packagesPackages that are required for the fullstack_app (to the best of my knowledge)
	// this will be tested later to make sure that everything still works
	GolangPackages = []string{
		"github.com/labstack/echo",
		"github.com/spf13/cobra",
		"gopkg.in/yaml.v3",
		"github.com/go-openapi/jsonpointer",
		"github.com/go-openapi/jsonreference",
		"github.com/go-openapi/spec",
		"github.com/go-openapi/swag",
		"github.com/golang-jwt/jwt/v5",
		"github.com/labstack/echo-jwt/v4",
		"github.com/golang-jwt/jwt",
		"github.com/labstack/echo/v4",
		"github.com/joho/godotenv",
		"github.com/minio/crc64nvme",
		"github.com/minio/md5-simd",
		"github.com/minio/minio-go/v7",
		"github.com/pkg/errors",
		"github.com/swaggo/echo-swagger",
		"github.com/swaggo/files/v2",
		"github.com/swaggo/swag",
		"github.com/google/uuid",
		"github.com/jackc/pgx",
		"github.com/jackc/pgx/v5",
		"github.com/jackc/pgx/v5/pgxpool",
		"github.com/redis/go-redis/v9",
	}
)
View Source
var (
	// the tools that are required for the fullstack_app
	// air   -> hot reloading
	// swag  -> generating docs and frontend/api endpoint connections
	// goose -> migrations
	// sqlc  -> generating queries
	RequiredTools = []string{
		"github.com/air-verse/air@latest",
		"github.com/swaggo/swag/cmd/swag@latest",
		"github.com/pressly/goose/v3/cmd/goose@latest",
		"github.com/sqlc-dev/sqlc/cmd/sqlc@latest",
	}
)

Functions

func Mapping added in v0.1.0

func Mapping(config *configuration.Configuration, templatesFS embed.FS, mappingYaml string) (map[string]*template.Template, error)

Mapping

params:

config: *configuration.Configuration

returns:

	type: map[string]*template.Template
 description:
	  the map of templates with the key as the same as the file name to be rendered

Types

This section is empty.

Jump to

Keyboard shortcuts

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