lamb

package module
v0.0.0-...-594d4ea Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 8 Imported by: 2

README

Lamb - A Simple and Comprehensive Template Engine

Lamb is a lightweight and easy-to-read template engine designed to provide a comprehensive solution for your templating needs. Please note that Lamb is still in development and not yet ready for production use.

Features

  • Simplicity: Lamb aims to offer a straightforward and readable syntax for template creation and rendering.
  • Flexibility: It supports a variety of template features, including conditionals, loops, variable interpolation, and more.
  • Extensibility: You can easily extend Lamb by creating custom template functions.
  • Performance: Lamb is designed for efficient template rendering while keeping the codebase simple.

License

Lamb is licensed under the MIT License. See the LICENSE file for details.

Examples

For code examples and usage demonstrations of Lamb, please visit our example repository.

We encourage you to explore the example code to understand how to leverage Lamb's capabilities in your own projects.

Getting Started

To get started with Lamb, use go get to fetch the package from the GitHub repository:

go get github.com/govel-framework/lamb

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(config map[interface{}]interface{}) error

Init initializes the lamb module.

func LoadLambFuntions

func LoadLambFuntions(funcs map[string]*object.Builtin)

func Render

func Render(c *govel.Context, file string, vars map[string]interface{})

Render renders a lamb template.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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