languages

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 1, 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.

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

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

Jump to

Keyboard shortcuts

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