cms

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 3 Imported by: 0

README

Small simple cms

This project is made as an opportunity study.

Planed

  • pagination
  • restore bucket items
  • upload bucket item
  • file change history ( list, diff view)
  • bucket item change history ( list, diff view)

run files only

make cms

tmpls

Filemanager preview

tmpls

run with Bolt DB example

make bolt
set default admin user

cmd/serverdb/.env

ADMIN_USER=admin
ADMIN_USER_PASS=admin
create new bucket item

just open http://localhost:8080/admin/buckets/test/test tmpls

add

{"name":"test"}

then press cmd+s(ctr+s) to save

Markdown Wiki

make wiki

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(data []byte) error

func Env added in v0.0.10

func Env(key string, def string) string

Types

type Options

type Options map[string]interface{}

func Load

func Load(filename string) (opts *Options, err error)

func (Options) Extend

func (Options Options) Extend(m Options) Options

func (*Options) Get added in v0.0.7

func (Options *Options) Get(key string) (value interface{})

func (*Options) Refresh

func (Options *Options) Refresh(data []byte) error

func (*Options) Set

func (Options *Options) Set(key string, value interface{}) *Options

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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