env_config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

ENV Config

Getting Started

package main

import (
    "log"
    "github.com/pocketbase/pocketbase"
    env_config "github.com/rodydavis/pocketbase-plugins/env-config"
)

func main() {
	app := pocketbase.New()

	err = env_config.Init(app)
	if err != nil {
		log.Fatal(err)
	}

    if err := app.Start(); err != nil {
		log.Fatal(err)
	}
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(app *pocketbase.PocketBase, collections ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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