github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/benchmark/cmd/command/banner.go (about)

     1  package command
     2  
     3  import (
     4  	"github.com/pyroscope-io/pyroscope/pkg/cli"
     5  )
     6  
     7  // made here http://patorjk.com/software/taag/#p=display&f=Doom&t=pyrobench
     8  var banner = `
     9                         _                     _
    10                        | |                   | |
    11   _ __  _   _ _ __ ___ | |__   ___ _ __   ___| |__
    12  | '_ \| | | | '__/ _ \| '_ \ / _ \ '_ \ / __| '_ \
    13  | |_) | |_| | | | (_) | |_) |  __/ | | | (__| | | |
    14  | .__/ \__, |_|  \___/|_.__/ \___|_| |_|\___|_| |_|
    15  | |     __/ |
    16  |_|    |___/
    17  `
    18  
    19  func init() {
    20  	// removes extra new lines
    21  	banner = banner[1 : len(banner)-2]
    22  }
    23  
    24  func gradientBanner() string {
    25  	return cli.GradientBanner(banner)
    26  }