Move types and plan back to main dagger package

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-28 12:02:39 +00:00
parent b3bdd347e7
commit 5abd77f4f2
15 changed files with 132 additions and 131 deletions

View File

@@ -2,6 +2,7 @@ package main
import (
"dagger.io/dagger"
"dagger.io/dagger/core"
"universe.dagger.io/bash"
)
@@ -19,7 +20,7 @@ dagger.#Plan & {
_mountGoCache: {
mounts: "go mod cache": {
dest: "/root/.gocache"
contents: dagger.#CacheDir & {
contents: core.#CacheDir & {
id: "go mod cache"
}
}