This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | type StrictHandlerFunc = strictgin.StrictGinHandlerFunc | |
| type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc | |
| func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface { | |
| return &strictHandler{ssi: ssi, middlewares: middlewares} | |
| } | |
| type strictHandler struct { | |
| ssi StrictServerInterface | |
| middlewares []StrictMiddlewareFunc | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| METRIC_NAME='test.metric' | |
| STATSD_HOST='statsd.host' | |
| STATSD_PORT='8125' | |
| DELAY_MCS=100000 | |
| # "c" - counter, will aggregate as sum | |
| # "t" - timer, will aggregate as avg | |
| # "g" - gauge, will aggregate as last | |
| AGGREGATION="c" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | CREATE TABLE IF NOT EXISTS `gallery` ( | |
| `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, | |
| `galleryId` INT UNSIGNED NOT NULL, | |
| `createdAt` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | |
| `name` VARCHAR(64) NULL, | |
| PRIMARY KEY (`id`), | |
| KEY `galleryId` (`galleryId`) | |
| ) | |
| ENGINE = InnoDB | |
| DEFAULT CHARSET = `utf8`; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | *.php text eol=lf | |
| *.js text eol=lf | |
| *.sh text eol=lf | |
| *.sql text eol=lf | |
| *.svg text eol=lf | |
| *.pug text eol=lf | |
| *.json text eol=lf | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package main | |
| import ( | |
| "fmt" | |
| "github.com/nareix/joy4/av" | |
| "github.com/nareix/joy4/av/avutil" | |
| "github.com/nareix/joy4/av/pubsub" | |
| "github.com/nareix/joy4/format" | |
| "github.com/nareix/joy4/format/flv" | |
| "github.com/nareix/joy4/format/rtmp" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| declare(strict_types = 1); | |
| namespace My\Vendor\PhpUnitStrict; | |
| use PHPUnit\Framework\Constraint\Constraint; | |
| use PHPUnit\Framework\MockObject\InvocationMocker; | |
| use PHPUnit\Framework\MockObject\Matcher; | |
| use PHPUnit\Framework\MockObject\MockObject; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | if has("syntax") | |
| syntax on | |
| endif | |
| if has('mouse') | |
| set mouse=r | |
| endif | |
| set showcmd " Show (partial) command in status line. | |
| set showmatch " Show matching brackets. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package main | |
| type MyService struct { | |
| dbConnection *sql.DB | |
| logger log.Logger | |
| service1 *Service1 | |
| service2 *Service2 | |
| } | |
| func NewMyService( | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "sort" | |
| "time" | |
| ) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| class TypedArrayCollection | |
| { | |
| /** @var string */ | |
| private $class; | |
| /** @var object[] */ | |
| private $array; | 
NewerOlder