Skip to content

Conversation

visualfc
Copy link
Member

@visualfc visualfc commented Nov 21, 2024

type ClassConfig struct {
	PkgPath   string            // Go+ class project pkgpath, empty if normal .gox class. (optional)
	ClassName string            // project or class name.
	Project   bool              // true means ClassName is project.
	Comments  bool              // true means parse comments.
	Gopt      map[string]string // Gopt_ function name mapping. (optional)
	Overload  map[string]string // Overload function name mapping. (optional)
}
// GopClassSource format Go+ source to Go+ class source.
func GopClassSource(src []byte, cfg *ClassConfig, filename ...string) (ret []byte, err error) {

@codecov
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

Attention: Patch coverage is 96.89441% with 5 lines in your changes missing coverage. Please review.

Project coverage is 93.43%. Comparing base (17784d7) to head (5147ee0).

Files with missing lines Patch % Lines
x/format/gopstyle.go 96.21% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2020      +/-   ##
==========================================
+ Coverage   93.34%   93.43%   +0.08%     
==========================================
  Files          42       42              
  Lines       11734    11892     +158     
==========================================
+ Hits        10953    11111     +158     
+ Misses        624      623       -1     
- Partials      157      158       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@visualfc visualfc force-pushed the format_class branch 3 times, most recently from 83f9cac to 5147ee0 Compare November 22, 2024 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant