example

command
Version: v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: MIT Imports: 5 Imported by: 0

README

Parcello Example

You should start the application with the following command:

$ go run main.go

This example illustrates how to embed resource in Golang application. If you want to enable dev mode, which enables editing content on a fly, you should set the following environment variables before you start the application:

$ export PARCELLO_DEV_ENABLED=1
$ export PARCELLO_RESOURCE_DIR=./public

or use tools like direnv:

$ direnv allow

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Directories

Path Synopsis
Package public contains embedded resources
Package public contains embedded resources

Jump to

Keyboard shortcuts

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