gotools

package module
v0.0.0-...-48f4c87 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 4 Imported by: 0

README ยถ

golang tools ๐Ÿ› 

Go์–ธ์–ด๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด์„œ ์ƒ๊ฐ๋ณด๋‹ค ๋งŽ์ด ์‚ฌ์šฉํ•œ ์ฝ”๋“œ๋“ค์„ ํŒจํ‚ค์ง€ํ™” ํ•˜์—ฌ์„œ ์† ์‰ฝ๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ๋งŒ๋“ค์—ˆ์Šต๋‹ˆ๋‹ค.

File & Code Introduction

  • gotools
    • path.go - ๋””๋ ‰ํ† ๋ฆฌ, ํŒŒ์ผ๊ณผ ๊ฒฝ๋กœ์— ๊ด€ํ•œ ํŒŒ์ผ์ž…๋‹ˆ๋‹ค.

MIT License

Documentation ยถ

Overview ยถ

(C) 2022 HyunSang Park <me@hyunsang.dev>

Index ยถ

Constants ยถ

This section is empty.

Variables ยถ

This section is empty.

Functions ยถ

func DeleteFile ยถ

func DeleteFile(path string) error

ํŒŒ์ผ์„ ์‚ญ์ œํ•˜๋Š” ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค.

func DirectoryItemReader ยถ

func DirectoryItemReader(path string) (string, error)

๋””๋ ‰ํ† ๋ฆฌ ๋‚ด๋ถ€์— ์žˆ๋Š” ์˜ค๋ธŒ์ ํŠธ๋ฅผ ์ฝ์Šต๋‹ˆ๋‹ค.

func FindExt ยถ

func FindExt(fileName string) string

ํŒŒ์ผ์˜ ํ™•์žฅ์ž๋ฅผ ์ฐพ์Šต๋‹ˆ๋‹ค. ex. helloworld.go => ".go"

func Route ยถ

func Route() (path string)

ํ˜„์žฌ์˜ ๊ฒฝ๋กœ๋ฅผ ์•Œ๋ ค์ค๋‹ˆ๋‹ค. ex ~/dev/golang/hello-world

Types ยถ

This section is empty.

Jump to

Keyboard shortcuts

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