github.com/primecitizens/pcz/std@v0.2.1/core/assert/assert.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  package assert
     5  
     6  func Panic[T any](v ...T) {
     7  	Throw("panic")
     8  }
     9  
    10  func Unreachable() {
    11  	Throw("unreachable")
    12  }
    13  
    14  func TODO(s ...string) {
    15  	Throw("TODO")
    16  }