util

package
v0.0.0-...-8a8b58e Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyValueParser1

func KeyValueParser1(str, key string, isEnv bool) string

Example 1 - input: "'driver' => 'mysql',",

        "driver",
        false
output: "mysql"

Example 2 - input: "'host' => env('DB_HOST', 'localhost'),",

        "host",
        true
output: "DB_HOST"

Types

This section is empty.

Jump to

Keyboard shortcuts

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