mmmommm / goinit

Generate initial configuration files for Go.
MIT License
4 stars 0 forks source link

todo #2

Open mmmommm opened 2 years ago

mmmommm commented 2 years ago
mmmommm commented 2 years ago

goinit return command lists and those usage goinit ${name} create ${name} directory and createFiles function goinit ${name} -m ${package_name} create ${name} directory and createFiles function and run go mod init goinit -v return version

mmmommm commented 2 years ago

https://kazuhira-r.hatenablog.com/entry/2021/01/09/220048 text/template を使って、README.mdとLICENSEファイルを標準入力の値を使って作成する

mmmommm commented 2 years ago
スクリーンショット 2021-11-24 9 59 41
mmmommm commented 2 years ago

FROM golang:1.17.3

WORKDIR /app

COPY go.mod ./ COPY go.sum ./ RUN go mod download