Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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