-- mod/bud.test@v0.0.2/go.mod --
module bud.test

-- mod/bud.test@v0.0.2/public/public.go --
package public

import (
  "net/http"
)

type Middleware = Interface

// Interface for implementing middleware
type Interface interface {
	Middleware(next http.Handler) http.Handler
}

-- app/go.mod --
module app.com

require (
  bud.test v0.0.2
)

-- app/main.go --
package main

import (
  "bud.test/public"
)

type Middleware = public.Middleware

func main () {
  println(Middleware)
}

