languages

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

* Copyright © 2019. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2019. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

* Copyright © 2019. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGo

func NewGo(inputTargetDir, appName string) api_lang.Project

NewGo returns a new Golang Project

func NewJava

func NewJava(inputTargetDir, appName string) api_lang.Project

NewJava returns a new Java Project

func NewRust added in v0.2.0

func NewRust(inputTargetDir, appName string) api_lang.Project

NewRust returns a new Rust Project

Types

type GoProject

type GoProject struct {
	// contains filtered or unexported fields
}

GoProject is an implementation of a Go Project

func (*GoProject) Cleanup

func (g *GoProject) Cleanup() error

Cleanup removes all temp files (if any) created during the initialization

func (*GoProject) GetAppDir

func (g *GoProject) GetAppDir() string

GetAppDir returns the directory of the App

func (*GoProject) GetInputTargetDir

func (g *GoProject) GetInputTargetDir() string

GetInputTargetDir returns the target folder entered by the user

func (*GoProject) GetTargetDir

func (g *GoProject) GetTargetDir() string

GetTargetDir returns the target folder, either the inputtarget or the temptarget if it is created

func (*GoProject) Init

func (g *GoProject) Init() error

Init initializes a golang project structure

func (*GoProject) IsFile

func (g *GoProject) IsFile() bool

IsFile returns true if the destination target is a File

type JavaProject

type JavaProject struct {
	// contains filtered or unexported fields
}

JavaProject is an implementation of a Java Project

func (*JavaProject) Cleanup

func (j *JavaProject) Cleanup() error

Cleanup removes all temp files (if any) created during the initialization

func (*JavaProject) GetAppDir

func (j *JavaProject) GetAppDir() string

GetAppDir returns the directory of the App

func (*JavaProject) GetInputTargetDir

func (j *JavaProject) GetInputTargetDir() string

GetInputTargetDir returns the target folder entered by the user

func (*JavaProject) GetTargetDir

func (j *JavaProject) GetTargetDir() string

GetTargetDir returns the target folder, either the inputtarget or the temptarget if it is created

func (*JavaProject) Init

func (j *JavaProject) Init() error

Init initializes a java project structure

func (*JavaProject) IsFile

func (j *JavaProject) IsFile() bool

IsFile returns true if the destination target is a File

type RustProject added in v0.2.0

type RustProject struct {
	// contains filtered or unexported fields
}

RustProject is an implementation of a Rust Project

func (*RustProject) Cleanup added in v0.2.0

func (g *RustProject) Cleanup() error

Cleanup removes all temp files (if any) created during the initialization

func (*RustProject) GetAppDir added in v0.2.0

func (g *RustProject) GetAppDir() string

GetAppDir returns the directory of the App

func (*RustProject) GetInputTargetDir added in v0.2.0

func (g *RustProject) GetInputTargetDir() string

GetInputTargetDir returns the target folder entered by the user

func (*RustProject) GetTargetDir added in v0.2.0

func (g *RustProject) GetTargetDir() string

GetTargetDir returns the target folder, either the inputtarget or the temptarget if it is created

func (*RustProject) Init added in v0.2.0

func (g *RustProject) Init() error

Init initializes a rust project structure

func (*RustProject) IsFile added in v0.2.0

func (g *RustProject) IsFile() bool

IsFile returns true if the destination target is a File

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL