zotregistry.dev/zot@v1.4.4-0.20240314164342-eec277e14d20/pkg/debug/gqlplayground/gqlplayground_disabled.go (about)

     1  //go:build !debug
     2  // +build !debug
     3  
     4  package debug
     5  
     6  import (
     7  	"github.com/gorilla/mux"
     8  
     9  	"zotregistry.dev/zot/pkg/log"
    10  	"zotregistry.dev/zot/pkg/storage"
    11  )
    12  
    13  // SetupGQLPlaygroundRoutes ...
    14  func SetupGQLPlaygroundRoutes(router *mux.Router,
    15  	storeController storage.StoreController, log log.Logger,
    16  ) {
    17  	log.Warn().Msg("skipping enabling graphql playground extension because given zot binary " +
    18  		"doesn't include this feature, please build a binary that does so")
    19  }