Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for presence class in Go #763

Closed
ghost opened this issue Apr 20, 2018 · 2 comments
Closed

Add support for presence class in Go #763

ghost opened this issue Apr 20, 2018 · 2 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Apr 20, 2018

Issue tracker is ONLY used for reporting bugs. Please use the YDK Community for any support issues.

Expected Behavior

Encoding the YDK Go API for below YANG model should produce below output:

    container outer {
        container inner {
            presence true;
        }
    }
<outer>
  <inner/>
<outer>

Current Behavior

presence container is not supported in Go

@ghost ghost added the golang label Apr 20, 2018
@ghost ghost mentioned this issue Apr 20, 2018
@ghost ghost assigned ylil93 Apr 24, 2018
@ylil93
Copy link
Contributor

ylil93 commented May 2, 2018

the fix can be something like this
https://play.golang.org/

ylil93 added a commit to ylil93/ydk-gen that referenced this issue May 7, 2018
@ylil93
Copy link
Contributor

ylil93 commented May 8, 2018

fixed

@ylil93 ylil93 closed this as completed May 8, 2018
ghost pushed a commit that referenced this issue May 9, 2018
#763: Adding support for presence type in golan
ylil93 added a commit to ylil93/ydk-gen that referenced this issue May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant