template

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package template provides a set of templates for the main function, HTTP server, README, and Makefile.

Package template provides a set of templates for the main function, HTTP server, README, and Makefile.

Package template provides a set of templates for the main function, HTTP server, README, and Makefile.

Package template provides a set of templates for the main function, HTTP server, README, and Makefile.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AirTomlTemplate

func AirTomlTemplate() []byte

func GitIgnore

func GitIgnore() []byte

MainTemplate returns a byte slice containing a Go source code template for the main function. The main function creates a new server and starts it.

func MainTemplate

func MainTemplate() []byte

MainTemplate returns a byte slice containing a Go source code template for the main function. The main function creates a new server and starts it.

func MakeTemplate

func MakeTemplate() []byte

MakeTemplate returns a byte slice containing a Makefile template for a Go project. The Makefile includes targets to build, run, test, and clean the project.

func ReadmeTemplate

func ReadmeTemplate() []byte

Types

This section is empty.

Directories

Path Synopsis
Package web provides a set of templates for the specified web router.
Package web provides a set of templates for the specified web router.

Jump to

Keyboard shortcuts

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