本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
398B

  1. // Copyright 2019 The Xorm Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package core
  5. // Conversion is an interface. A type implements Conversion will according
  6. // the custom method to fill into database and retrieve from database.
  7. type Conversion interface {
  8. FromDB([]byte) error
  9. ToDB() ([]byte, error)
  10. }
上海开阖软件有限公司 沪ICP备12045867号-1