dan2

command module
v0.0.0-...-1d99369 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 1 Imported by: 0

README

dan2

An experiment in htmx and templ.

Generate

When making changes that generate code, it can help to run go get -u ./... to make sure deps of installed code are present.

templ

Html templating defined in .templ files of the www directory.

templ generate
ent

Database models, added with and managed by the ent ORM.

Add models to the schema with go run -mod=mod entgo.io/ent/cmd/ent new ModelTypeName.

After updating the schema (fields, edges), run go generate ./ent.

Run

./dan2 serve

TODO

GRPC
Auth
Protobuf

Refs

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
ent
proto/entpb
Code generated by protoc-gen-entgrpc.
Code generated by protoc-gen-entgrpc.
www
templ: version: v0.2.598
templ: version: v0.2.598
account
templ: version: v0.2.598
templ: version: v0.2.598
footer
templ: version: v0.2.598
templ: version: v0.2.598
header
templ: version: v0.2.598
templ: version: v0.2.598
projects
templ: version: v0.2.598
templ: version: v0.2.598
projects/alcohol
templ: version: v0.2.598
templ: version: v0.2.598
projects/amazon
templ: version: v0.2.598
templ: version: v0.2.598
projects/grocery
templ: version: v0.2.598
templ: version: v0.2.598
projects/movie
templ: version: v0.2.598
templ: version: v0.2.598

Jump to

Keyboard shortcuts

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