code.gitea.io/gitea@v1.19.3/modules/migration/schemas_static.go (about)

     1  // Copyright 2022 The Gitea Authors. All rights reserved.
     2  // SPDX-License-Identifier: MIT
     3  
     4  //go:build bindata
     5  
     6  package migration
     7  
     8  import (
     9  	"io"
    10  	"path"
    11  )
    12  
    13  func openSchema(filename string) (io.ReadCloser, error) {
    14  	return Assets.Open(path.Base(filename))
    15  }