config

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright (c) 2023 the go-mongr8 Authors and Contributors [@see Authors file]

Licensed under the MIT License (https://opensource.org/licenses/MIT)

Copyright (c) 2023 the go-mongr8 Authors and Contributors [@see Authors file]

Licensed under the MIT License (https://opensource.org/licenses/MIT)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoesPathExist

func DoesPathExist(path string) bool

func GetAllFileNames

func GetAllFileNames(path string) []string

get all names inside a directory

func GetFileContent

func GetFileContent(path string) string

func GetPackageDir

func GetPackageDir() (*string, error)

this function retrieves the root directory of go-mongr8 and is used to get some project template drectories this function could replaced with a better approach in the future

func GetProjectRootDir

func GetProjectRootDir() (*string, error)

this function retrieves the root directory of working project

func GetProjectRootModuleName

func GetProjectRootModuleName(rootPath string) string

this gets the project module name with provided root path

Types

This section is empty.

Jump to

Keyboard shortcuts

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