github.com/turingchain2020/turingchain@v1.1.21/cmd/tools/gencode/base/codetype.go (about)

     1  // Copyright Turing Corp. 2018 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  
     5  package base
     6  
     7  // DappCodeFile dapp code source
     8  type DappCodeFile struct {
     9  	CodeFile
    10  }
    11  
    12  // GetCodeType get code type
    13  func (DappCodeFile) GetCodeType() string {
    14  	return "dapp"
    15  }