github.com/tiagovtristao/plz@v13.4.0+incompatible/src/cache/rpc_cache_stub.go (about)

     1  // +build bootstrap
     2  
     3  // Only used at initial bootstrap or when used with 'go run' so we don't have to worry
     4  // about proto compilation until that's sorted.
     5  
     6  package cache
     7  
     8  import (
     9  	"github.com/thought-machine/please/src/core"
    10  	"fmt"
    11  )
    12  
    13  func newRPCCache(config *core.Configuration) (*httpCache, error) {
    14  	return nil, fmt.Errorf("Config specifies RPC cache but it is not compiled")
    15  }