Add go.mod to we-lang.go

This commit is contained in:
Igor Chubin 2021-04-04 17:31:59 +00:00
parent e0cc061a64
commit 08617c168b
2 changed files with 4 additions and 0 deletions

View File

@ -4,6 +4,7 @@ FROM golang:1-alpine as builder
WORKDIR /app
COPY ./share/we-lang/we-lang.go /app
COPY ./share/we-lang/go.mod /app
RUN apk add --no-cache git

3
share/we-lang/go.mod Normal file
View File

@ -0,0 +1,3 @@
module github.com/chubin/wttr.in/v2
go 1.15